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.
309 310 311 312 313 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 309 def initialize(value, *params) @value = value @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
307 308 309 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 307 def conditions @conditions end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
307 308 309 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 307 def value @value end |