Created
November 13, 2013 15:42
-
-
Save bumi/7451172 to your computer and use it in GitHub Desktop.
yaml
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
def yaml number | |
print "language " | |
print "markup " | |
print "aint " | |
sleep 0.5 | |
number = number - 1 | |
unless number <= 0 | |
print yaml(number) | |
end | |
end | |
puts "how many times?" | |
number = gets.chomp.to_i | |
print "yaml " | |
print yaml number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment