class Licensee::Matchers::Exact

Public Instance Methods

confidence() click to toggle source
# File lib/licensee/matchers/exact.rb, line 14
def confidence
  100
end
match() click to toggle source
# File lib/licensee/matchers/exact.rb, line 6
def match
  return @match if defined? @match

  @match = potential_matches.find do |potential_match|
    potential_match.wordset == file.wordset
  end
end