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/commands
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
..
amend_line.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
bang.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
bang_pry.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
cat.rb filename completion for cat and shell 2012-08-21 00:44:26 -07:00
cd.rb Revert "Revert "Merge pull request #678 from jasonLaster/tabcomplete"" 2012-08-12 00:38:44 -04:00
easter_eggs.rb normalize poetry identation 2012-08-25 23:18:28 +12:00
edit.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
edit_method.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
exit.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
exit_all.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
exit_program.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
find_method.rb Remove extended_commands, default_commands -> commands 2012-08-11 17:39:25 -07:00
gem_cd.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
gem_install.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
gem_list.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
gist.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
help.rb Remove extended_commands, default_commands -> commands 2012-08-11 17:39:25 -07:00
hist.rb Store hist --replay <i> calls in history 2012-08-23 02:27:02 +03:00
import_set.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
install_command.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
jump_to.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
ls.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
nesting.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
play.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
pry_backtrace.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
pry_version.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
raise_up.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
reload_method.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
reset.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
ri.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
save_file.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
shell_command.rb filename completion for cat and shell 2012-08-21 00:44:26 -07:00
shell_mode.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
show_command.rb DEPRACTED --> DEPRECATED 2012-08-19 12:32:10 +12:00
show_doc.rb Depracated show-command and moved its functionality to show-source 2012-08-14 00:18:53 -04:00
show_input.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
show_source.rb Depracated show-command and moved its functionality to show-source 2012-08-14 00:18:53 -04:00
simple_prompt.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
stat.rb Add support of aliases for Method 2012-08-26 00:02:39 +03:00
switch_to.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
toggle_color.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00
whereami.rb Remove extended_commands, default_commands -> commands 2012-08-11 17:39:25 -07:00
wtf.rb Restore groups, convert most commands to class syntax 2012-08-11 18:27:26 -07:00