Sha256: 5e9a3fd3d576752bb98d60502cc80ca08fbbd25401315f653b9391f998fc42a4

Contents?: true

Size: 279 Bytes

Versions: 4

Compression:

Stored size: 279 Bytes

Contents

class Licensee
  module Matchers
    class Package
      def initialize(file)
        @file = file
      end

      def match
        Licensee.licenses(:hidden => true).find { |l| l.key == license_property }
      end

      def confidence
        90
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
licensee-6.1.1 lib/licensee/matchers/package_matcher.rb
licensee-6.1.0 lib/licensee/matchers/package_matcher.rb
licensee-6.0.0 lib/licensee/matchers/package_matcher.rb
licensee-6.0.0b1 lib/licensee/matchers/package_matcher.rb