Class: Licensee::Matchers::Exact
- Inherits:
-
Object
- Object
- Licensee::Matchers::Exact
- Defined in:
- lib/licensee/matchers/exact.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
- #confidence ⇒ Object
-
#initialize(file) ⇒ Exact
constructor
A new instance of Exact.
- #match ⇒ Object
Constructor Details
#initialize(file) ⇒ Exact
Returns a new instance of Exact.
6 7 8 |
# File 'lib/licensee/matchers/exact.rb', line 6 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
4 5 6 |
# File 'lib/licensee/matchers/exact.rb', line 4 def file @file end |
Instance Method Details
#confidence ⇒ Object
17 18 19 |
# File 'lib/licensee/matchers/exact.rb', line 17 def confidence 100 end |