RubyGems.org

valid_array

0.1.1

The valid_array gem provides to create an Array that enforces certian properties. Each element added to the array is passed to a validator function written by you. This function can raise errors, drop items or change them. vaild_array also provides compatibility with the typed-array gem. There is both 'valid_array/typed_array' which imports to `ValidArray::TypedArray` and a fully compatible 'valid-array' which passes 'valid-array's own test suite.

installgem install valid_array
Authors

Kevin Cox, Ryan Biesemeyer

933 total downloads 508 for this version
Owners

97da960b1e3c32233b7e2424270e5665

Licenses

MIT

Gemfile
gem 'valid_array', '~> 0.1.1'
Versions
  1. 0.1.1 October 18, 2013 (10 KB)
  2. 0.1.0 August 28, 2013 (10 KB)
Development Dependencies
  1. rdoc ~> 3.9