One of the latest fun bits I came across:
(1..5).each.inject(:*)
...is equivalent to 5!. A word to the wise, don't go above 10,000 lest you lag your computer mostly to death.
Anyone else want in on this string? It's my hope that we can get some clever pieces of code out there, simple one liners with some serious power. Either way, I'll still be posting.

New Topic/Question
Reply





MultiQuote




|