Skip to content

Instantly share code, notes, and snippets.

@rickhull
Created December 14, 2011 19:50
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 rickhull/1478171 to your computer and use it in GitHub Desktop.
Save rickhull/1478171 to your computer and use it in GitHub Desktop.
hsh.each { |k,v| v += "\n" }
# versus
hsh.each { |k,v| v << "\n" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment