Created
December 26, 2013 21:30
-
-
Save beezeebly/8138960 to your computer and use it in GitHub Desktop.
Ruby multi-statement block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ["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