You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I exit pry with exit then it does print the actual last result. If instead of _ I use _out_[-1] then it prints the correct last result whether I exit with Control-D or exit. Am I misunderstanding _ or is this some edge case bug for it?
The text was updated successfully, but these errors were encountered:
if you start pry with:
pry -e 'END {puts "last result was: #{_}"}'
if I exit pry with Control-D (EOF) it prints the second to last result:
if I exit pry with exit then it does print the actual last result. If instead of
_
I use_out_[-1]
then it prints the correct last result whether I exit with Control-D or exit. Am I misunderstanding_
or is this some edge case bug for it?The text was updated successfully, but these errors were encountered: