Class: WTT::Core::Matchers::Exact
- Inherits:
-
Object
- Object
- WTT::Core::Matchers::Exact
- Defined in:
- lib/wtt/core/matchers/exact_matcher.rb
Overview
Matches the extact line that changed
Instance Method Summary collapse
Instance Method Details
#match(spectra, lineno) ⇒ Object
11 12 13 |
# File 'lib/wtt/core/matchers/exact_matcher.rb', line 11 def match(spectra, lineno) true if spectra.include?(lineno) || lineno == 0 end |