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.



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

#conditionsObject (readonly)

Returns the value of attribute conditions.



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

def conditions
  @conditions
end

#valueObject (readonly)

Returns the value of attribute value.



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

def value
  @value
end