Skip to content

Instantly share code, notes, and snippets.

@phillipoertel
Created October 31, 2009 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phillipoertel/222870 to your computer and use it in GitHub Desktop.
Save phillipoertel/222870 to your computer and use it in GitHub Desktop.
funkyness = ->(number){ puts "FUNKY! " * number }
(1..10).each(&funkyness)
FUNKY!
FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY!
FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY! FUNKY!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment