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.5 KB)

业主:

作者:

  • Penn Taylor

SHA 256 校验和:

3d1049fb1d5a5e361c3fa33558b36d136c6d9f0a38fb1f8197271679e3cab946

下载总量 3,448

这个版本 3,448

许可:

MIT

需要的 Ruby 版本: >= 0

链接: