Skip to content

Instantly share code, notes, and snippets.

@tdshipley
Last active August 29, 2015 14:24
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 tdshipley/2f3a1cbbcf814ddf7092 to your computer and use it in GitHub Desktop.
Save tdshipley/2f3a1cbbcf814ddf7092 to your computer and use it in GitHub Desktop.
Ruby Bang Method Example
x = hEllO
x.downcase # returns "hello" x == hEllO
x.downcase! #=> x == "hello"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment