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.
Required Ruby Version
None
Authors
Kevin Cox, Ryan Biesemeyer
Versions
-
0.1.1
-
source
- 0.1.1 source October 18, 2013 (10 KB)
-
-
0.1.0
-
source
- 0.1.0 source August 28, 2013 (10 KB)
-