Skip to content

Instantly share code, notes, and snippets.

@acook
Created September 1, 2013 10:37
Show Gist options
  • Save acook/6403617 to your computer and use it in GitHub Desktop.
Save acook/6403617 to your computer and use it in GitHub Desktop.
letter_pairs = [%w{a b}, %w{c d}]
letter_pairs.each do |leading, following|
puts "leading: #{leading}"
puts "following: #{following}"
end
leading: a
following: b
leading: c
following: d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment