Sha256: 31393c0eadfbdd2ca4483be67b32d060c6bec0e566e0146476c4fd775cbefacb

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

module MiniCamel
  module Processor
    class MutateEach < ProcessEach

      def call(exchange)
        additional_data = fetch_additional_data(exchange)

        fetch_collection(exchange).map! do |entry|
          process(entry, additional_data)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mini_camel-0.5.8 lib/mini_camel/processor/mutate_each.rb