fizzbuzz.rb
# Don't forget! This file needs to be 'required' in its spec file
# See README.md for instructions on how to do this
Don't forget. This file needs to be 'required' in its spec file
See README.md for instructions on how to do this
Don ' t forget . This file needs to be ' required ' in its spec file See README . md for instructions on how to do this
def fizzbuzz(int)
  if int % 3 == 0 && int % 5 == 0 
    return "FizzBuzz"
  end
  if int % 3 == 0 
    return "Fizz"
  end 
if int % 5 == 0 
    return "Buzz"
  end 
end
def fizzbuzz ( int ) if int % 3 == 0 && int % 5 == 0 return "FizzBuzz" end if int % 3 == 0 return "Fizz" end if int % 5 == 0 return "Buzz" end end
Don't forget!
Don ' t forget!
# if the number integar is divisible by 3 
int
<not_specific>