Class: Kameleon::DSL::Verify::Absence::Field
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::Absence::Field
- Defined in:
- lib/kameleon/dsl/verify/absence.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Instance Method Summary collapse
-
#initialize(params) ⇒ Field
constructor
A new instance of Field.
Constructor Details
#initialize(params) ⇒ Field
Returns a new instance of Field.
112 113 114 115 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 112 def initialize(params) @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
110 111 112 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 110 def conditions @conditions end |