mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Correct Pry::WrappedModule#respond_to? definition, fixes #530
This commit is contained in:
parent
dd5cecee27
commit
d7894a27d7
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Pry
|
|||
end
|
||||
|
||||
def respond_to?(method_name)
|
||||
super || wrapped.send(method_name, *args, &block)
|
||||
super || wrapped.respond_to?(method_name)
|
||||
end
|
||||
|
||||
def doc
|
||||
|
|
Loading…
Add table
Reference in a new issue