News for hackers. Stuff that matters.
Re:FizzBuzz Still Works by jeltz on Thursday November 15, 2012 @11:14AM (#4789194)
His solutions works while your does not. I ran them both in irb. This is because "string << integer" does not do what you think it does. It treats the integer as character code.

  "" << 0x41 # => "A"

There are no comments on this comment yet.