summaryrefslogtreecommitdiff
path: root/lib/pry/helpers/command_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pry/helpers/command_helpers.rb')
-rw-r--r--lib/pry/helpers/command_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/helpers/command_helpers.rb b/lib/pry/helpers/command_helpers.rb
index a924ded5..58427e16 100644
--- a/lib/pry/helpers/command_helpers.rb
+++ b/lib/pry/helpers/command_helpers.rb
@@ -42,7 +42,7 @@ class Pry
def internal_binding?(target)
m = target.eval("__method__").to_s
# class_eval is here because of http://jira.codehaus.org/browse/JRUBY-6753
- ["__binding__", "__binding_impl__", "class_eval"].include?(m)
+ ["__binding__", "__pry__", "class_eval"].include?(m)
end
def get_method_or_raise(name, target, opts={}, omit_help=false)