Skip to content

Commit

Permalink
Kernel#=== should call == on recv with other
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 8, 2013
1 parent a206e46 commit 050f137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/kernel.rb
Expand Up @@ -17,7 +17,7 @@ def =~(obj)
end

def ===(other)
`#{self} == other`
self == other
end

def <=>(other)
Expand Down

0 comments on commit 050f137

Please sign in to comment.