Sha256: 2e4cb8c68834af330744f0f20d76a62adad74fac8ad2f950301801569f2853d8

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

require 'thanos/resources/item/creator'

module Thanos
  module Factory
    module Item
      class Creator
        def initialize(results)
          @results = results
        end

        def build
          @results.collect do |comic|
            Thanos::Item::Creator.new(comic)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 lib/thanos/factories/item/creator.rb
thanos-0.5.0 lib/thanos/factories/item/creator.rb