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.
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
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
278 279 280 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 278 def conditions @conditions end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
278 279 280 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 278 def value @value end |