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.



285
286
287
288
289
# File 'lib/kameleon/dsl/verify/presence.rb', line 285

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

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



283
284
285
# File 'lib/kameleon/dsl/verify/presence.rb', line 283

def conditions
  @conditions
end

#valueObject (readonly)

Returns the value of attribute value.



283
284
285
# File 'lib/kameleon/dsl/verify/presence.rb', line 283

def value
  @value
end