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
1 changed files with 1 additions and 1 deletions

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