Class: Kameleon::DSL::Verify::TextInput
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::TextInput
- 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) ⇒ TextInput
constructor
A new instance of TextInput.
Constructor Details
#initialize(value, *params) ⇒ TextInput
Returns a new instance of TextInput.
221 222 223 224 225 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 221 def initialize(value, *params) @value = value @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
219 220 221 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 219 def conditions @conditions end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
219 220 221 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 219 def value @value end |