Skip to content

Instantly share code, notes, and snippets.

@nessamurmur
Created October 1, 2013 12:57
Show Gist options
  • Save nessamurmur/6778041 to your computer and use it in GitHub Desktop.
Save nessamurmur/6778041 to your computer and use it in GitHub Desktop.
each ruby
a = [1, 2, 3, 4]
a.each do |num|
# several
# lines
# of transformations
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment