Module: Recog::MatcherFactory

Defined in:
lib/recog/matcher_factory.rb

Class Method Summary collapse

Class Method Details

.build(options) ⇒ Object


8
9
10
11
12
# File 'lib/recog/matcher_factory.rb', line 8

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