Skip to content

Instantly share code, notes, and snippets.

@beezeebly
Created December 26, 2013 21:30
Show Gist options
  • Select an option

  • Save beezeebly/8138960 to your computer and use it in GitHub Desktop.

Select an option

Save beezeebly/8138960 to your computer and use it in GitHub Desktop.
Ruby multi-statement block
["John", "Mark", "Luke"].each do |name|
puts "What's their name?"
puts "I think it's #{name}."
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment