Sha256: bfc07327c7656249420e16e38222f40777e7095a9f7c6584dc2cd95ce423ae9b

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

module Licensee
  module Matchers
    class Matcher
      attr_reader :file

      include Licensee::HashHelper
      HASH_METHODS = %i[name confidence].freeze

      def initialize(file)
        @file = file
      end

      def name
        @name ||= self.class.to_s.split('::').last.downcase.to_sym
      end

      def match
        raise 'Not implemented'
      end

      def confidence
        raise 'Not implemented'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
licensee-9.9.2 lib/licensee/matchers/matcher.rb
licensee-9.9.1 lib/licensee/matchers/matcher.rb
licensee-9.9.0 lib/licensee/matchers/matcher.rb
licensee-9.9.0.beta.3 lib/licensee/matchers/matcher.rb
licensee-9.9.0.beta.2 lib/licensee/matchers/matcher.rb