Module: Waw::Validation::ArrayValidations::Methods

Included in:
Waw::Validation::ArrayValidations
Defined in:
lib/waw/validation/array_validations.rb

Instance Method Summary collapse

Instance Method Details

#[](subvalidator) ⇒ Object

Checks that all values of the array are validated by a subvalidator



31
32
33
# File 'lib/waw/validation/array_validations.rb', line 31

def [](subvalidator)
  ArrayValidator.new(subvalidator)
end