Sha256: 6d598bd8f01f09257eae8bb3de9cfb723c50649d51b87fa7c4f0bbc5b8a6d87d

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require_relative 'matcher'
require_relative 'formatter'
require_relative 'match_reporter'

module Recog
module MatcherFactory
  def self.build(options)
    formatter = Formatter.new(options, $stdout)
    reporter  = MatchReporter.new(options, formatter)
    Matcher.new(options.fingerprints, reporter, options.multi_match)
  end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
recog-intrigue-2.3.14 lib/recog/matcher_factory.rb
recog-intrigue-2.3.7 lib/recog/matcher_factory.rb