lib/recog/matcher_factory.rb in recog-3.1.1 vs lib/recog/matcher_factory.rb in recog-3.1.2

- old
+ new

@@ -1,14 +1,15 @@ +# frozen_string_literal: true require 'recog/matcher' require 'recog/formatter' require 'recog/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) + 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 end