Sha256: c71e1b05a523da2a8bbb1d536d0ea97a5e9e0195944994b18ffc422bbbf2e47a
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
module Licensee module Matchers class Exact < Licensee::Matchers::Matcher def match return @match if defined? @match @match = Licensee.licenses(hidden: true).find do |license| license.length == @file.length && license.wordset == @file.wordset end end def confidence 100 end end end end
Version data entries
5 entries across 5 versions & 1 rubygems