RubyGems Navigation menu

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.

Gemfile:
=

instalar:
=

Versiones:

  1. 0.1.1 October 18, 2013 (10 KB)
  2. 0.1.0 August 28, 2013 (10 KB)

dependencias de Development (1):

rdoc ~> 3.9

Propietarios:

Autores:

  • Kevin Cox, Ryan Biesemeyer

SHA 256 checksum:

=

Total de descargas 7.017

Para esta versión 4.333

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: Ninguno

Enlace: