Sha256: 750c938173062552ba3c2c432ef730540b4d86230686a6f451675a7e8d60c91f

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

require 'thanos/resources/text_object'

module Thanos
  module Factory
    class TextObject
      def initialize(text_objects)
        @text_objects = text_objects
      end

      def build
        @text_objects.collect do |text_object|
          Thanos::TextObject.new(text_object)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 lib/thanos/factories/text_object.rb
thanos-0.5.0 lib/thanos/factories/text_object.rb