mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Pry::Method(foo).should == Pry::Method(foo)
This commit is contained in:
parent
55c5423b72
commit
d0b8a4467f
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ class Pry
|
|||
# @return [Boolean]
|
||||
def ==(obj)
|
||||
if obj.is_a? Pry::Method
|
||||
super
|
||||
obj == @method
|
||||
else
|
||||
@method == obj
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue