RubyGems Navigation menu

array_floe 1.1.0

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

installieren:
=

Versionen:

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

Development Abhängigkeiten (4):

bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
rspec ~> 2.3.0

Besitzer:

Autoren:

  • ronen barzel

SHA 256-Prüfsumme:

0e22969b15d440a01f649b61c9132c2c20263a960be80546ed62b5ac1b9a85f5

Downloads insgesamt 18.816

Für diese Version 4.518

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: