Class: Kafo::Params::Array
- Inherits:
-
Kafo::Param
- Object
- Kafo::Param
- Kafo::Params::Array
- Defined in:
- lib/kafo/params/array.rb
Instance Attribute Summary
Attributes inherited from Kafo::Param
#condition, #default, #doc, #groups, #module, #name, #value_set
Instance Method Summary collapse
Methods inherited from Kafo::Param
#<=>, #dump_default, #initialize, #module_name, #set_default, #set_value_by_config, #to_s, #valid?, #value, #visible?
Constructor Details
This class inherits a constructor from Kafo::Param
Instance Method Details
#condition_value ⇒ Object
13 14 15 |
# File 'lib/kafo/params/array.rb', line 13 def condition_value "[ #{value.map(&:inspect).join(', ')} ]" end |
#value=(value) ⇒ Object
4 5 6 7 |
# File 'lib/kafo/params/array.rb', line 4 def value=(value) super @value = typecast(@value) end |