Sha256: 7e7a37574acc49f9e6fb42a1a594103744a112a2df989e66ea58590074ba3aca
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
module Cascade module ComplexFields class ArrayProcessor def initialize(processor) @processor = processor end def call(values) values.map { |value| @processor.call(value) } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cascade-rb-0.2.3 | lib/cascade/complex_fields/array_processor.rb |
cascade-rb-0.2.2 | lib/cascade/complex_fields/array_processor.rb |