pry--pry/test
Kyrylo Silin 905bab4d7c Add support of aliases for `Method`
Fix issue #367 (stat command should display the list of aliases for a
given method).

You can get a list of aliases for a method like this:

  pry(main)> stat Array#map
  Method Information:
  --
  Name: map
  Alias: collect
  Owner: Array
  Visibility: public
  Type: Unbound
  Arity: 0
  Method Signature: map()
  Source Location: Not found.

Note that `Method#aliases` returns an Array of strings on MRI 1.8 and
friends, while on MRI 1.9 it returns an Array of symbols.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-08-26 00:02:39 +03:00
..
test_default_commands show-source for non-extant methods should return error msg. Fix #697 2012-08-23 08:15:09 -04:00
candidate_helper1.rb added tests for module candidate API 2012-06-23 20:14:10 +12:00
candidate_helper2.rb added tests for module candidate API 2012-06-23 20:14:10 +12:00
example_nesting.rb Add Module.nesting extraction to Pry::Indent 2012-07-28 14:31:20 -07:00
helper.rb Don't load ./.pryrc when it is ~/.pryrc [Fixes #682] 2012-08-05 12:05:35 -07:00
test_cli.rb updated cli.rb for new API and added tests for cli 2011-12-11 04:13:42 +13:00
test_code.rb Remember the initial pwd [Fixes #675] 2012-08-12 22:58:40 -07:00
test_command.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
test_command_helpers.rb update commands and tests to use Pry::Method 2011-09-22 01:20:32 -07:00
test_command_integration.rb Move all commands into individual files 2012-08-11 17:33:37 -07:00
test_command_set.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
test_completion.rb Add Bond completion (when available) cirwin++ 2012-08-18 22:49:20 +00:00
test_control_d_handler.rb Add unit tests for DEFAULT_CONTROL_D_HANDLER 2012-06-17 11:25:33 +12:00
test_exception_whitelist.rb Tidy up tests and remove some repeating code 2012-06-11 19:33:04 +02:00
test_history_array.rb Test that HistAry keeps correct number of entries 2012-08-21 00:24:57 +03:00
test_hooks.rb passing extra prompt data via an OpenStruct 2012-07-13 02:53:19 +12:00
test_indent.rb Add Module.nesting extraction to Pry::Indent 2012-07-28 14:31:20 -07:00
test_input_stack.rb Tidy up tests and remove some repeating code 2012-06-11 19:33:04 +02:00
test_method.rb Add support of aliases for `Method` 2012-08-26 00:02:39 +03:00
test_prompt.rb passing extra prompt data via an OpenStruct 2012-07-13 02:53:19 +12:00
test_pry.rb Don't load ./.pryrc when it is ~/.pryrc [Fixes #682] 2012-08-05 12:05:35 -07:00
test_pry_defaults.rb Eliminate test failure 2012-06-26 22:34:13 -07:00
test_pry_history.rb clean up history tests a bit 2011-12-01 21:26:22 -08:00
test_pry_output.rb loosened test in test_pry_output.rb 2011-09-22 02:51:14 +12:00
test_sticky_locals.rb added Pry.config.extra_sticky_locals config option 2012-03-14 15:35:24 +13:00
test_syntax_checking.rb Don't rstrip strings [Fixes #657] 2012-07-18 09:27:43 -07:00
test_wrapped_module.rb more tightly spec WrappedModule, and ensure WM#source_location doesn't raise 2012-06-25 04:04:43 +12:00
testrc version 0.6.8, added whereami command, made .pryrc run at the start of each runtime session, put syntax highlighting on by default 2011-03-06 03:17:54 +13:00
testrcbad Be robust to errors in ~/.pryrc 2011-11-02 00:46:38 -07:00