Created
September 15, 2017 09:57
-
-
Save kalorz/277d3facdd4276a0d6ec472d4a11fb35 to your computer and use it in GitHub Desktop.
Ruby Gotchas: and / &&
This file contains 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
surprise = true and false # => surprise is true | |
surprise = true && false # => surprise is false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment