Please sign in to comment.
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.
- Loading branch information...
Showing with 57 additions and 10 deletions.