1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib/pry
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
..
commands Add support of aliases for Method 2012-08-26 00:02:39 +03:00
helpers show-source for non-extant methods should return error msg. Fix #697 2012-08-23 08:15:09 -04:00
cli.rb Improve -I option support 2012-08-16 03:05:34 +03:00
code.rb Remember the initial pwd [Fixes #675] 2012-08-12 22:58:40 -07:00
command.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
command_set.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
commands.rb Remove extended_commands, default_commands -> commands 2012-08-11 17:39:25 -07:00
completion.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
config.rb Add Bond completion (when available) cirwin++ 2012-08-18 22:49:20 +00:00
core_extensions.rb Fixed typo in a comment 2012-07-22 23:48:04 +02:00
custom_completions.rb added file-mode toggle command, brings in filesystem completion and 2011-04-07 05:38:18 +12:00
helpers.rb Move all commands into individual files 2012-08-11 17:33:37 -07:00
history.rb passing extra prompt data via an OpenStruct 2012-07-13 02:53:19 +12:00
history_array.rb implement cat --in (fixes #330) 2011-11-06 01:00:37 -07:00
hooks.rb Fix various mangled documentation 2012-06-26 22:30:00 -07:00
indent.rb Add Module.nesting extraction to Pry::Indent 2012-07-28 14:31:20 -07:00
method.rb Add support of aliases for Method 2012-08-26 00:02:39 +03:00
module_candidate.rb Fix warnings 2012-07-01 23:10:50 -07:00
pager.rb Add API documentation. 2012-08-09 22:52:13 +01:00
plugins.rb Removed double trailing new-lines (really just because it's done automatically) 2012-07-22 23:30:40 +02:00
pry_class.rb Don't load ./.pryrc when it is ~/.pryrc [Fixes #682] 2012-08-05 12:05:35 -07:00
pry_instance.rb do not propagate nils from completion_proc 2012-08-23 00:39:24 -04:00
rbx_method.rb define a Pry::Method#source_location, fixes #524 2012-04-13 18:39:04 +12:00
rbx_path.rb Workaround for rubinius binding __FILE__ bug #1581 2012-03-02 04:02:51 +13:00
repl_file_loader.rb provide CLI 'pry my_file.rb' functionality to load file through REPL loop 2012-06-20 02:10:18 +12:00
version.rb version 0.9.10 release 2012-07-15 00:00:50 +12:00
wrapped_module.rb Change wrapped method to public 2012-07-22 22:26:19 -04:00