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

7 commits

Author SHA1 Message Date
Conrad Irwin
6fda20a22f Remove the compulsary "" argument to alias_command 2011-09-19 10:37:51 +08:00
John Mair
a04e56012a made it so commands (with :keep_retval => true) can now return nil as a legitimate return value. Created a new 'void' value to use instead when indicating no return value. also updated tests.
'void' method now available to commands, commands must return this when they do not want their result displayed when they use :keep_retval => true. void just maps to a random object Pry::CommandContext::VOID_VALUE.
2011-09-04 13:30:20 +12:00
Conrad Irwin
99026e5c4d help command should sort output. 2011-07-27 11:43:28 -07:00
John Mair
71ad2aa9d1 added a bunch more tests for: hist command, :listing option to commands, regex commands, etc. Turned paging off in helper.rb 2011-05-28 18:05:41 +12:00
John Mair
bf0081170e new tests for Pry::CommandProcessor and regex command and spaced command functionality, also tests for :interpolate flag for commands 2011-05-23 19:11:41 +12:00
Mon ouïe
1750fe4d78 Got rid of CommandSet#name 2011-05-07 07:32:05 +02:00
John Mair
79868f8266 fixed cd bug for complex arguments, renamed test_commandset to test_command_set 2011-05-06 22:43:08 +12:00