Skip to content

Instantly share code, notes, and snippets.

@simonprev
Created May 16, 2013 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonprev/5594433 to your computer and use it in GitHub Desktop.
Save simonprev/5594433 to your computer and use it in GitHub Desktop.
String#upcase
'test_string'.upcase
#=> "TEST_STRING"
'test_string'.upcase!
#=> "TEST_STRING"
'TEST_STRING'.upcase
#=> "TEST_STRING"
'TEST_STRING'.upcase!
#=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment