Skip to content

Instantly share code, notes, and snippets.

@bumi
Created November 13, 2013 15:42
Show Gist options
  • Save bumi/7451172 to your computer and use it in GitHub Desktop.
Save bumi/7451172 to your computer and use it in GitHub Desktop.
yaml
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