RubyGems Navigation menu

array_floe 1.1.3

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.5KB)
  2. 1.1.2 - April 24, 2011 (8KB)
  3. 1.1.0 - April 10, 2011 (8KB)
  4. 1.0.0 - April 09, 2011 (7.5KB)

所有者:

作者:

  • ronen barzel

SHA 256チェックサム:

7ce9e400f76418f07f6829fb55fe44ae04e9d70941c543e91d72d4c124192898

累計ダウンロード数 18,802

このバージョンのみ 5,384

ライセンス:

N/A

必要なRubyのバージョン: なし

必要なRubyGemsのバージョン: >= 1.3.7

リンク: