Class: Params::Array

Inherits:
Param
  • Object
show all
Defined in:
lib/kafo/params/array.rb

Instance Attribute Summary

Attributes inherited from Param

#default, #doc, #module, #name, #value_set

Instance Method Summary collapse

Methods inherited from Param

#<=>, #initialize, #module_name, #set_default, #set_value_by_config, #to_s, #valid?, #value

Constructor Details

This class inherits a constructor from Param

Instance Method Details

#multivalued?Boolean

Returns:



8
9
10
# File 'lib/kafo/params/array.rb', line 8

def multivalued?
  true
end

#value=(value) ⇒ Object



3
4
5
6
# File 'lib/kafo/params/array.rb', line 3

def value=(value)
  super
  @value = typecast(@value)
end