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

#append_to, #initialize

Constructor Details

This class inherits a constructor from CmdMatcher::LineMatcher

Instance Method Details

#match(line) ⇒ Object



129
130
131
# File 'lib/cmd-matcher.rb', line 129

def match(line)
  @matcher.strip == line.strip
end