Class: Licensee::GitMatcher

Inherits:
Matcher
  • Object
show all
Defined in:
lib/licensee/matchers/git_matcher.rb

Instance Attribute Summary

Attributes inherited from Matcher

#file

Instance Method Summary collapse

Methods inherited from Matcher

#initialize, match

Constructor Details

This class inherits a constructor from Licensee::Matcher

Instance Method Details

#confidenceObject



8
9
10
# File 'lib/licensee/matchers/git_matcher.rb', line 8

def confidence
  match_info[1] unless match_info.nil?
end

#matchObject



4
5
6
# File 'lib/licensee/matchers/git_matcher.rb', line 4

def match
  match_info[0] unless match_info.nil?
end