mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Workaround JRUBY-6753
This commit is contained in:
parent
773daa501f
commit
d57f229c05
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ class Pry
|
|||
|
||||
def internal_binding?(target)
|
||||
m = target.eval("__method__").to_s
|
||||
["__binding__", "__binding_impl__"].include?(m)
|
||||
# class_eval is here because of http://jira.codehaus.org/browse/JRUBY-6753
|
||||
["__binding__", "__binding_impl__", "class_eval"].include?(m)
|
||||
end
|
||||
|
||||
def get_method_or_raise(name, target, opts={}, omit_help=false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue