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:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

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

所有者:

作者:

  • Penn Taylor

SHA 256チェックサム:

3d1049fb1d5a5e361c3fa33558b36d136c6d9f0a38fb1f8197271679e3cab946

累計ダウンロード数 3,448

このバージョンのみ 3,448

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: