RubyGems Navigation menu

array_floe 1.1.2

This small extension to ruby's Array class provides two additional iterators, Array#each_with_floe and Array#each_with_index_floe, that simplify the reasonably-common need to specially handle "floe"--i.e., first, last, odd, even--when iterating through the elements of an array. It's particularly handy for generating CSS classes.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.1.3 - December 14, 2011 (7.5 KB)
  2. 1.1.2 - April 24, 2011 (8.0 KB)
  3. 1.1.0 - April 10, 2011 (8.0 KB)
  4. 1.0.0 - April 09, 2011 (7.5 KB)

Development 依赖 (5):

业主:

作者:

  • ronen barzel

SHA 256 校验和:

da5220365ee44362debbfa66066a15bf507dcb42fd69cfd1628bb53961e35f8b

下载总量 18,793

这个版本 4,475

许可:

需要的 Ruby 版本:

需要的 RubyGems 版本: >= 1.3.7

链接: