1
0
Fork 0
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:
Robert Gleeson 2014-01-17 10:44:11 +01:00
parent 0a8591aee8
commit 54989203e5

View file

@ -109,7 +109,7 @@ class Pry
end
def top_level?
target_self == TOPLEVEL_BINDING.eval("self")
target_self == Pry.main
end
def handle_internal_binding