| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This will greatly ease Pry support on Ruby 3.0 (when it's out).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
This reverts commit d7ca93c62c8319659842c6a06a38d64a7d3db712.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|