Sha256: 300d8c11cc9cc17ee35f7eaa32dfe8af52ebe3012035ed7d2902535e1fb03b8a

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

module Wor
  module Batchifier
    class ArrayMerge < Strategy
      def merge_strategy(response,rec)
        rec = [] if rec.empty?
        return rec + response
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wor-batchifier-0.0.2 lib/wor/batchifier/array_merge.rb