Class: Kameleon::DSL::Verify::CheckBoxInput

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, *params) ⇒ CheckBoxInput

Returns a new instance of CheckBoxInput.



280
281
282
283
284
# File 'lib/kameleon/dsl/verify/presence.rb', line 280

def initialize(value, *params)
  @value = value
  @conditions = []
  parse_params(params)
end

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



278
279
280
# File 'lib/kameleon/dsl/verify/presence.rb', line 278

def conditions
  @conditions
end

#valueObject (readonly)

Returns the value of attribute value.



278
279
280
# File 'lib/kameleon/dsl/verify/presence.rb', line 278

def value
  @value
end