1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

6 commits

Author SHA1 Message Date
Kyrylo Silin
3c60ee88e5 Extract out gem related code to Pry::Rubygem
And fix some typos, and prettify some lines.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2013-01-09 00:24:53 +02:00
John Mair
9bda7a17a7 Extracted out editor-related code to Pry::Editor
And updated commands to use the new API
2012-12-29 23:38:20 +01:00
Kyrylo Silin
ebccd57013 Convert all commands to classes
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>
2012-12-27 13:31:37 +02:00
Conrad Irwin
b18a52f9a5 Add completion for gem-open and gem-cd 2012-11-14 01:50:27 -08:00
Conrad Irwin
0968c5ddce Factor out logic for finding gemspec 2012-11-14 01:50:13 -08:00
Conrad Irwin
cb0cf76489 Add gem-open to open the gem in an editor 2012-11-14 00:17:30 -08:00