mariann013 / Fizzbuzz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fizzbuzz

Fizzbuzz is a game where when inputed any number divisible by 3 it should return 'fizz', when inputed any number divisible by 5 it should return 'buzz' and when inputted any number divisble by both 3 and 5 (i.e 15) it should return 'fizzbuzz' otherwise it should just return the number.

This version of FizzBuzz is written in Ruby and tested using rspec.

To install:

  • Clone the repo
  • Install rspec using 'bundle install rspec' from the command line
  • To see tests run rspec
  • To utilize app open either pry or irb

About


Languages

Language:Ruby 100.0%