Class: Fylorg::Matcher

Inherits:
Object
  • Object
show all
Defined in:
lib/fylorg/matcher.rb

Constant Summary collapse

MATCH_THRESHOLD =
0.99
MATCH_FILT_LEVEL =
0.1

Instance Method Summary collapse

Instance Method Details

#categorize(files, opts) ⇒ Object



11
12
13
14
15
16
# File 'lib/fylorg/matcher.rb', line 11

def categorize(files, opts)
  [
    generate_matches(files, opts).inject({}) { |mem, data| mem.merge(data) },
    opts
  ]
end