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

9 commits

Author SHA1 Message Date
dsisnero
a7bba4f35c fixed Pry::Editor#invoke_editor
Pry::Editor doesn't have a class method called invoke_editor. Fixed to call on an initialized Pry::Editor instance
2014-09-10 12:45:02 -06:00
Ryan Fitzgerald
20cdc22917 Various copy changes
Improves consistency of capitalization and punctuation across various
help text, plus some rewording and consolidating command groups.
2014-05-05 00:50:44 -07:00
Kyrylo Silin
256f35422a Prettify command descriptions, switches and stuff
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>
2013-01-09 22:23:19 +02:00
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