Class: Kameleon::DSL::Verify::Absence
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::Absence
- Defined in:
- lib/kameleon/dsl/verify/absence.rb
Defined Under Namespace
Classes: Condition, Field, Image, Link
Instance Attribute Summary collapse
-
#conditions ⇒ Object
Returns the value of attribute conditions.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(*params) ⇒ Absence
constructor
A new instance of Absence.
Constructor Details
#initialize(*params) ⇒ Absence
Returns a new instance of Absence.
8 9 10 11 12 13 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 8 def initialize(*params) @params = params @conditions = [] parse_conditions end |
Instance Attribute Details
#conditions ⇒ Object
Returns the value of attribute conditions.
6 7 8 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 6 def conditions @conditions end |
#params ⇒ Object
Returns the value of attribute params.
6 7 8 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 6 def params @params end |