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:
= Copy to clipboard Copied!

instalar:
=

Versões:

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

Development Dependencies (1):

rdoc ~> 3.9

Donos:

Autores:

  • Kevin Cox, Ryan Biesemeyer

SHA 256 checksum:

65bf230e854ef20c5df1e85d32352bf8f3ed703f37d6631008b24f0ce12e350c

Total de downloads 6.656

Desta versão 4.101

Licença:

MIT

Versão Requerida do Ruby: Nenhum

Links: