fork download
  1. ary=(1..100).to_a
  2.  
  3. ary.map! do |x|
  4. if x%15==0
  5. x="FizzBuzz"
  6. elsif x%3 == 0
  7. x="Fizz"
  8. elsif x%5==0
  9. x="Buzz"
  10. end
  11. end
  12.  
Success #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
Standard output is empty