Sha256: 77c5a44a3f4f6bd3a6616b706733409710dc758709be12fcc0f4c149376c69bc
Contents?: true
Size: 458 Bytes
Versions: 13
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true require_relative './base_processor' require_relative './sort/enumerable_adapter' require_relative './sort/active_record_adapter' class ActiveSet class SortProcessor < BaseProcessor queue_adapter ActiveRecordAdapter queue_adapter EnumerableAdapter def process adapters.reduce(@set) do |outer_set, adapter| @instructions.process_adapter(set: outer_set, adapter: adapter) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems