mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
update whereami command to use Pry.main (last one).
This commit is contained in:
parent
0a8591aee8
commit
54989203e5
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Pry
|
||||||
end
|
end
|
||||||
|
|
||||||
def top_level?
|
def top_level?
|
||||||
target_self == TOPLEVEL_BINDING.eval("self")
|
target_self == Pry.main
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle_internal_binding
|
def handle_internal_binding
|
||||||
|
|
Loading…
Reference in a new issue