Class: CmdMatcher::LineEqualer
- Inherits:
-
LineMatcher
- Object
- LineMatcher
- CmdMatcher::LineEqualer
- Defined in:
- lib/cmd_matcher.rb
Instance Attribute Summary
Attributes inherited from LineMatcher
Instance Method Summary collapse
Methods inherited from LineMatcher
Constructor Details
This class inherits a constructor from CmdMatcher::LineMatcher
Instance Method Details
#match(line) ⇒ Object
46 47 48 |
# File 'lib/cmd_matcher.rb', line 46 def match(line) @matcher.strip == line.strip end |