Class: Kameleon::DSL::Verify::TextInput

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleon/dsl/verify/presence.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#conditionsObject (readonly)

Returns the value of attribute conditions.



219
220
221
# File 'lib/kameleon/dsl/verify/presence.rb', line 219

def conditions
  @conditions
end

#valueObject (readonly)

Returns the value of attribute value.



219
220
221
# File 'lib/kameleon/dsl/verify/presence.rb', line 219

def value
  @value
end