RubyGems Navigation menu

reductions 0.1.0

Reductions is an addition to Enumerable that returns an array containing all of the intermediate values that would be generated in a call to Enumerable#reduce. (5..10).reductions(:+) # => [5, 11, 18, 26, 35, 45]

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.0 - March 14, 2015 (7.5 KB)

Owners:

Authors:

  • Penn Taylor

SHA 256 checksum:

3d1049fb1d5a5e361c3fa33558b36d136c6d9f0a38fb1f8197271679e3cab946

Total downloads 3,438

For this version 3,438

License:

MIT

Required Ruby Version: >= 0

Links: