Created
September 15, 2013 20:07
-
-
Save Choongkyu/6573982 to your computer and use it in GitHub Desktop.
This file contains 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
count =0 | |
for animal in %w{yes no maybe certainly definitely of course} do | |
puts animal | |
break if count == 10 | |
count += 1 | |
retry if animal == 'of' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment