Class: Kameleon::DSL::Verify::Absence

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleon/dsl/verify/absence.rb

Defined Under Namespace

Classes: Condition, Field, Image, Link

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#conditionsObject

Returns the value of attribute conditions.



6
7
8
# File 'lib/kameleon/dsl/verify/absence.rb', line 6

def conditions
  @conditions
end

#paramsObject

Returns the value of attribute params.



6
7
8
# File 'lib/kameleon/dsl/verify/absence.rb', line 6

def params
  @params
end