# File lib/pry/helpers/command_helpers.rb, line 42 def internal_binding?(target) m = target.eval("__method__").to_s # class_eval is here because of http://jira.codehaus.org/browse/JRUBY-6753 ["__binding__", "__pry__", "class_eval"].include?(m) end