Skip to content

Commit

Permalink
Correct Pry::WrappedModule#respond_to? definition, fixes #530
Browse files Browse the repository at this point in the history
  • Loading branch information
redgetan committed Apr 14, 2012
1 parent dd5cece commit d7894a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pry/wrapped_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7894a2

Please sign in to comment.