Created
September 15, 2017 10:38
-
-
Save kalorz/fff97cb55d63f0524d905902db312c7f to your computer and use it in GitHub Desktop.
Ruby Gotchas: bang! methods return value
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
'foo'.upcase! # => "FOO" | |
'FOO'.upcase! # => nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment