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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.1.0 - March 14, 2015 (7,5 KB)

Besitzer:

Autoren:

  • Penn Taylor

SHA 256-Prüfsumme:

3d1049fb1d5a5e361c3fa33558b36d136c6d9f0a38fb1f8197271679e3cab946

Downloads insgesamt 3.448

Für diese Version 3.448

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: