RubyGems.org

iterable

0.0.10.pre

Provides the class IterableArray, which implements all of the methods of Array (as of Ruby 1.9.3) in an iterable-aware fashion. I.e., behavior is defined to the greatest extent possible for operations that modify an IterableArray from within an iteration block (e.g. each, map, delete_if, reverse_each). To use, call #to_iter on a pre-existing Array or use IterableArray.new; the IterableArray should act identically to a regular Array except that it responds logically to modifications during iteration.

installgem install iterable -v 0.0.10.pre --pre
Authors

Scott L Steele

410 total downloads 103 for this version
Owners

F52f19b652f72cf53199c39a2fe29ee5

Licenses

Gemfile
gem 'iterable', '~> 0.0.10.pre'
Versions
  1. 0.0.11.pre July 21, 2013 (11.5 KB)
  2. 0.0.10.pre June 24, 2013 (11 KB)
  3. 0.0.6.pre February 13, 2013 (11 KB)
Show all versions (5 total)