Class: Kameleon::DSL::Verify::SelectInput

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) ⇒ SelectInput

Returns a new instance of SelectInput.



319
320
321
322
323
# File 'lib/kameleon/dsl/verify/presence.rb', line 319

def initialize(value, *params)
  @value = value
  @conditions = []
  parse_params(params)
end

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



317
318
319
# File 'lib/kameleon/dsl/verify/presence.rb', line 317

def conditions
  @conditions
end

#valueObject (readonly)

Returns the value of attribute value.



317
318
319
# File 'lib/kameleon/dsl/verify/presence.rb', line 317

def value
  @value
end