Comment

Comment by setpatchaddress

  (1..100).each do |i|
   puts case
     when i % 15 == 0
       'FizzBuzz'
     when i % 3 == 0
       'Fizz'
     when i % 5 == 0
       'Buzz'
     else
       i
     end
   end

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton