class Marver::Factory::TextObject

Public Class Methods

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

Public Instance Methods

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