Module: Recog::MatcherFactory

Defined in:
lib/recog/matcher_factory.rb

Class Method Summary collapse

Class Method Details

.build(options) ⇒ Object



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

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