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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#conditionsObject (readonly)

Returns the value of attribute conditions.



110
111
112
# File 'lib/kameleon/dsl/verify/absence.rb', line 110

def conditions
  @conditions
end