Ruby Fizzbuzz with extendable method