summaryrefslogtreecommitdiff
path: root/lib/pry/commands/stat.rb
Commit message (Collapse)AuthorAgeFilesLines
* rubocop: enable the Style/FrozenStringLiteralComment copKyrylo Silin2019-05-081-0/+2
| | | | This will greatly ease Pry support on Ruby 3.0 (when it's out).
* rubocop: fix Naming/HeredocDelimiterNaming copKyrylo Silin2019-03-241-2/+2
|
* rubocop: fix offences of the Style/UnneededCondition copKyrylo Silin2019-03-021-1/+1
|
* rubocop: fix offences of the Style/StringLiteralsInInterpolation copKyrylo Silin2019-03-021-4/+4
|
* rubocop: fix offences of the Style/ClassAndModuleChildren copKyrylo Silin2019-02-271-30/+32
|
* ubocop: fix the Layout/SpaceInsideStringInterpolation coprubocop-fixes-4Kyrylo Silin2019-02-261-1/+1
|
* rubocop: fix offences of the Style/HashSyntax copKyrylo Silin2018-10-131-1/+1
|
* Prettify command descriptions, switches and stuffKyrylo Silin2013-01-091-2/+4
| | | | | | | | Wrap command descriptions to 80 characters. Convert some string options to symbols (where possible). Align options in code. Remove dots in the end of switch descriptions. Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
* Convert all commands to classesKyrylo Silin2012-12-271-2/+5
| | | | | | | | | | | | | | | | John "banister" Mair describes the following key features of commands as classes: 1. It enables people to extend them by either subclassing or monkeypatching. 2. It enables them to provide their own API, so that for example, the Pry::Command::Edit class could have class methods for people to configure it. Please, note that I didn't touch easter eggs commands. I also prettified some strings (your source code reading experience should vastly improve!). Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
* Revert "Revert "Add support of aliases for `Method`""Conrad Irwin2012-08-291-0/+3
| | | | This reverts commit d7ca93c62c8319659842c6a06a38d64a7d3db712.
* Revert "Add support of aliases for `Method`"Kyrylo Silin2012-08-291-3/+0
| | | | | | | | | | | | This reverts commits: 905bab4d7cc2e5645f35206170d2166a47a416cf be626cfadab6afc67b94d65d3af37c2965819985 The problem is that Travis CI does not like tests for some reason. Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
* Add support of aliases for `Method`Kyrylo Silin2012-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Restore groups, convert most commands to class syntaxRyan Fitzgerald2012-08-111-1/+5
|
* Remove extended_commands, default_commands -> commandsRyan Fitzgerald2012-08-111-0/+28