class Thanos::Factory::TextObject

Public Class Methods

new(text_objects) click to toggle source
# File lib/thanos/factories/text_object.rb, line 6
def initialize(text_objects)
  @text_objects = text_objects
end

Public Instance Methods

build() click to toggle source
# File lib/thanos/factories/text_object.rb, line 10
def build
  @text_objects.collect do |text_object|
    Thanos::TextObject.new(text_object)
  end
end