Permalink
Browse files

Correct Pry::WrappedModule#respond_to? definition, fixes #530

  • Loading branch information...
1 parent dd5cece commit d7894a27d7b8177edaa6009297024c3cc6eb84db @redgetan redgetan committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pry/wrapped_module.rb
@@ -86,7 +86,7 @@ def method_missing(method_name, *args, &block)
end
def respond_to?(method_name)
- super || wrapped.send(method_name, *args, &block)
+ super || wrapped.respond_to?(method_name)
end
def doc

0 comments on commit d7894a2

Please sign in to comment.