Thursday 6 December 2012

FizzBuzz

I finally wrote a Ruby solution to FizzBuzz. Here is my solution on GitHub which I came up with in five minutes. I'll  do some refactoring to have cleaner methods. Have a look and feel free to send a pull request if think your OO design is better  ;)

2 comments:

  1. How about this?

    http://labs.codecademy.com/769#:workspace

    Less if-else, less object. Still clean and readable. LOL

    ReplyDelete
  2. very clean! I am adding that! :)

    ReplyDelete