1
0
Fork 0
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:
Conrad Irwin 2012-04-01 19:24:23 -07:00
parent 55c5423b72
commit d0b8a4467f

View file

@ -382,7 +382,7 @@ class Pry
# @return [Boolean]
def ==(obj)
if obj.is_a? Pry::Method
super
obj == @method
else
@method == obj
end