mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Add __,___, and ____ for just a little further back
This commit is contained in:
parent
be626cfada
commit
c3c2a227db
1 changed files with 4 additions and 1 deletions
|
@ -186,7 +186,10 @@ class Pry
|
|||
:_ex_ => proc { last_exception },
|
||||
:_file_ => proc { last_file },
|
||||
:_dir_ => proc { last_dir },
|
||||
:_ => proc { last_result }
|
||||
:_ => proc { last_result },
|
||||
:__ => proc { @output_array[-2] },
|
||||
:___ => proc { @output_array[-3] },
|
||||
:____ => proc { @output_array[-4] }
|
||||
}.merge(extra_sticky_locals)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue