NAV_PROMPT shows you your current context along with all the previous contexts separated by a "/" a la shell-style; making it easier to navigate around. Also includes current index of _in_ and _out_ locals. SIMPLE_PRINT is just a simple inspect style printer (a la IRB); it doesnt use coloration or pretty printing or paging and can die for weird input. But is likely slightly faster for large output
…hod_source gem (version 0.6.5).
…note only able to play string variables now - not just arbitrary strings. Primary use is with _in_ special local
…re inserted into the input buffer (eval_string). edit --ex now auto-reloads too. Auto-reloads can be suppressed using the new `-n` option. Situation is now the following: (1) files are not reloaded by default (2) if files are reloaded (using -r) they are eval'd at toplevel (3) edit --ex is reloaded by default and is eval'd at toplevel (same as files) (4) edit -t or just `edit` is reloaded by default and is inserted into input buffer (eval_string) (5) if you need to suppress auto-reloading for edit --ex or edit -t then also pass the -n switch
(1) It now dumps contents of input buffer in an editor when you type 'edit' (or edit -t) inside a non-empty input buffer (2) it accepts the file:line syntax. This closes #204 When it evals files it now (by default) just replaces the content of eval_string with the content of the file. This is particularly useful if content of file was an incomplete expression as no error is raised instead the input buffer just awaits more input.
…mand results are handled. Behaviour now is: (1) command that has keep_retval => false can replace eval_string() and when the multi-line expression is evaluated it will return value of the multi-line expression (old behaviour did not do this) (2) command that has keep_retval => true will always replace whatever multi-line expression it's invoked in with the return value of the command
… 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.
…her than a no-op)
…ce file output to stat command