Sha256: b712d8539c8da243cf6143a42b97ed2a49ae7983878fdc10eef9295f5efc3e52

Contents?: true

Size: 191 Bytes

Versions: 1

Compression:

Stored size: 191 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.1 lib/wor/batchifier/array_merge.rb