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:
=

installation:
=

Versions:

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

Dépendances de Development (4):

Propriétaires:

Auteurs:

  • ronen barzel

Total de contrôle SHA 256:

=

Total de téléchargements 19 271

Pour cette version 5 531

Version publiée:

License:

aucune

Version de Ruby requise: None

Required Rubygems Version: >= 1.3.7

Liens: