Below part of the code for fizzbuzz.rb is already implemented. Your task
is to produce the code for the doFizzBuzz() method. This method displays
the sequence of numbers and FizzBuzz where applicable. The result should
be stored in :tmp, as this is used by codemarker to pass the test.
class FizzBuzz
attr_accessor :tmp
def initialize temp
@tmp = temp
end
def doFizzBuzz
# YOUR CODE GOES HERE!
end
end
fb = FizzBuzz.new("")
fb.doFizzBuzz
puts fb.tmp