mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
update Pry.binding_for() to use Pry.main
This commit is contained in:
parent
74c07a82fc
commit
0a8591aee8
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ Readline version #{ver} detected - will not auto_resize! correctly.
|
|||
if Binding === target
|
||||
target
|
||||
else
|
||||
if TOPLEVEL_BINDING.eval('self') == target
|
||||
if Pry.main == target
|
||||
TOPLEVEL_BINDING
|
||||
else
|
||||
target.__binding__
|
||||
|
|
Loading…
Reference in a new issue