A solution to FizzBuzz in multiple steps with some extensions. For fun and profit.
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.
For used software versions see .tool-versions
After checking out the repo, run bin/setup to install dependencies. Then, run rspec spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the FizzBuzz project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.