Class: Licensee::Matcher

Inherits:
Object
  • Object
show all
Defined in:
lib/licensee/matcher.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ Matcher

Returns a new instance of Matcher.



15
16
17
# File 'lib/licensee/matcher.rb', line 15

def initialize(file)
  @file = file
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



9
10
11
# File 'lib/licensee/matcher.rb', line 9

def file
  @file
end

Class Method Details

.match(file) ⇒ Object



11
12
13
# File 'lib/licensee/matcher.rb', line 11

def self.match(file)
  self.new(file).match
end

Instance Method Details

#confidenceObject Also known as: similarity



23
24
25
# File 'lib/licensee/matcher.rb', line 23

def confidence
  0
end

#matchObject



19
20
21
# File 'lib/licensee/matcher.rb', line 19

def match
  nil
end