-
-
Save huydx/3debcaa0214eb1573160 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bad | |
def ==(target); return true if target.is_a?(FalseClass); end | |
end | |
p Bad.new == false | |
p false == Bad.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment