Skip to content

Instantly share code, notes, and snippets.

@mculp
Created April 25, 2013 19:05
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 mculp/5462241 to your computer and use it in GitHub Desktop.
Save mculp/5462241 to your computer and use it in GitHub Desktop.
module Kernel
def fizz_buzz
1.upto(100){|n|puts'FizzBuzz'[o=n**4%-15,o+13]||n}
end
end
# fizz_buzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment