Skip to content

Instantly share code, notes, and snippets.

@glassbead0
Created August 11, 2014 19:48
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 glassbead0/e1b7ae0832bb5394c53e to your computer and use it in GitHub Desktop.
Save glassbead0/e1b7ae0832bb5394c53e to your computer and use it in GitHub Desktop.
# how do I actually do something like this in ruby?
((0..25) && (26..51)).each do |a, b|
# a will loop through 0..25
# b will loop through 26..51 simultaneously
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment