This is simpler and more transparent. Also added to this commit is `show-input` now invoked immediately after a `play -m meth --open` (this was only possible because of the eval_string change). Tests for `play` method also updated to reflect changes.
Useful when pry instance is passed to procs such as exception handlers e.g Pry.config.exception_handler = proc |output, value, _pry_| _pry_.run_command('cat --ex') end Notw that run_command also accepts a optional second parameter 'binding' that defaults to binding_stack.last when not given
This enables `cat --ex` to now return code for REPL generated exceptions
…e, false as well. Also truncted #<> syntax to exclude memory address to improve appearance of prompts
…tput, defaults to 2 spaces
…bols, added tests for this. Also added new CLIPPED_PRINT printer (using Pry.view_clip), perhaps useful for enormous objects)
… around nest_level in DEFAULT_PROMPT