Class: HashValidator::Validations::Multiple
- Inherits:
-
Object
- Object
- HashValidator::Validations::Multiple
- Defined in:
- lib/hash_validator/validations/multiple.rb
Instance Attribute Summary collapse
-
#validations ⇒ Object
readonly
Returns the value of attribute validations.
Instance Method Summary collapse
-
#initialize(validations) ⇒ Multiple
constructor
A new instance of Multiple.
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
#validations ⇒ Object (readonly)
Returns the value of attribute validations.
3 4 5 |
# File 'lib/hash_validator/validations/multiple.rb', line 3 def validations @validations end |