Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ruby is beautiful

Name: Anonymous 2009-08-26 15:25

class Cycle
    def cycle(*args)
      args[((@_cycles ||= Hash.new(-1))[args.hash] += 1) % args.size]
    end
end

More beautiful code plees?

Name: Anonymous 2009-08-26 19:44

>>9
BUMP FOR MENTIONING _WHY BECAUSE IT'S COOL TO MENTION _WHY AND IF I BUMP THIS THREAD THEN I CAN BE COOL TOO





This is what ruby hipsters actually believe

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List