Pry::Method(foo).should == Pry::Method(foo)
This commit is contained in:
parent
55c5423b72
commit
d0b8a4467f
|
@ -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 New Issue