Created
May 18, 2022 09:34
-
-
Save denisdefreyne/30d05e0388000a3be8e762b91d6b6bfa 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
a = Point.new(4, 6) | |
b = Point.new(3, 7) | |
a_also = Point.new(4, 6) | |
a == a # => true | |
a == b # => false | |
a == "soup" # => false | |
a == a_also # => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment