Class: HashValidator::Validations::Multiple

Inherits:
Object
  • Object
show all
Defined in:
lib/hash_validator/validations/multiple.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(validations) ⇒ Multiple

Returns a new instance of Multiple.



4
5
6
# File 'lib/hash_validator/validations/multiple.rb', line 4

def initialize(validations)
  @validations = validations
end

Instance Attribute Details

#validationsObject (readonly)

Returns the value of attribute validations.



3
4
5
# File 'lib/hash_validator/validations/multiple.rb', line 3

def validations
  @validations
end