Class: StackMaster::SparkleFormation::CompileTime::ValueBuilder
- Inherits:
-
Object
- Object
- StackMaster::SparkleFormation::CompileTime::ValueBuilder
- Defined in:
- lib/stack_master/sparkle_formation/compile_time/value_builder.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(definition, parameter) ⇒ ValueBuilder
constructor
A new instance of ValueBuilder.
Constructor Details
#initialize(definition, parameter) ⇒ ValueBuilder
6 7 8 9 |
# File 'lib/stack_master/sparkle_formation/compile_time/value_builder.rb', line 6 def initialize(definition, parameter) @definition = definition @parameter = parameter end |
Instance Method Details
#build ⇒ Object
11 12 13 14 15 16 |
# File 'lib/stack_master/sparkle_formation/compile_time/value_builder.rb', line 11 def build parameter_or_default convert_strings_to_array convert_strings_to_numbers @value end |