Class: CmdMatcher::LineEqualer

Inherits:
LineMatcher show all
Defined in:
lib/cmd_matcher.rb

Instance Attribute Summary

Attributes inherited from LineMatcher

#matches

Instance Method Summary collapse

Methods inherited from LineMatcher

#initialize

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