Class: Kameleon::DSL::Verify::CheckBoxInput
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::CheckBoxInput
- Defined in:
- lib/kameleon/dsl/verify/presence.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, *params) ⇒ CheckBoxInput
constructor
A new instance of CheckBoxInput.
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
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
283 284 285 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 283 def conditions @conditions end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
283 284 285 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 283 def value @value end |