3 ms·
A different Ruby take on 2. that compares well to the _ + _: (1..10).inject(:+)
by bobfunk 15y ago
A different Ruby take on 2. that compares well to the _ + _:
(1..10).inject(:+)
- aphyr 15y agoOh... oh my. I never realized that higher arity blocks worked with that syntax. Thanks for that one.