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.
220 221 222 223 224 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 220 def initialize(value, *params) @value = value @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
218 219 220 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 218 def conditions @conditions end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
218 219 220 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 218 def value @value end |