Sha256: 4b8f777c3443e36b63aaae9e0a4b859950b79ba6e2622e4b6187b8bb43096e50

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

require 'tagomatic/format_matcher'
require 'tagomatic/info_updater'
require 'tagomatic/local_options_matcher'
require 'tagomatic/tag_cleaner'
require 'tagomatic/tag_normalizer'
require 'tagomatic/tag_setter'
require 'tagomatic/url_remover'

module Tagomatic

  class ObjectFactory

    def create_local_options_matcher(*arguments)
      Tagomatic::LocalOptionsMatcher.new(*arguments)
    end

    def create_format_matcher(*arguments)
      Tagomatic::FormatMatcher.new(*arguments)
    end

    def create_info_updater(*arguments)
      Tagomatic::InfoUpdater.new(*arguments)
    end

    def create_url_remover(*arguments)
      Tagomatic::UrlRemover.new(*arguments)
    end

    def create_tag_cleaner(*arguments)
      Tagomatic::TagCleaner.new(*arguments)
    end

    def create_tag_normalizer(*arguments)
      Tagomatic::TagNormalizer.new(*arguments)
    end

    def create_tag_setter(*arguments)
      Tagomatic::TagSetter.new(*arguments)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tagomatic-0.1.9 lib/tagomatic/object_factory.rb
tagomatic-0.1.8 lib/tagomatic/object_factory.rb