Class: NormalizeOptions::NormalWithMapperArray
- Defined in:
- lib/service_api/normalize_options/normal_with_mapper_array.rb
Instance Attribute Summary
Attributes inherited from Base
#mapper, #new_options, #options
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from NormalizeOptions::Base
Instance Method Details
#call ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/service_api/normalize_options/normal_with_mapper_array.rb', line 3 def call .each_with_index do |option, index| [mapper[index]] = option end end |