Class: Kameleon::DSL::Verify::SelectInput
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::SelectInput
- 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) ⇒ SelectInput
constructor
A new instance of SelectInput.
Constructor Details
#initialize(value, *params) ⇒ SelectInput
Returns a new instance of SelectInput.
319 320 321 322 323 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 319 def initialize(value, *params) @value = value @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
317 318 319 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 317 def conditions @conditions end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
317 318 319 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 317 def value @value end |