Class: CmdMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/cmd_matcher.rb

Defined Under Namespace

Classes: LineEqualer, LineMatcher

Instance Method Summary collapse

Constructor Details

#initializeCmdMatcher

Returns a new instance of CmdMatcher.



2
3
4
# File 'lib/cmd_matcher.rb', line 2

def initialize
  @matchers = []
end

Instance Method Details

#has(line, opt = {}) ⇒ Object



6
7
8
# File 'lib/cmd_matcher.rb', line 6

def has(line, opt = {})
  
end

#has_many(line, opt = {}) ⇒ Object



18
19
20
# File 'lib/cmd_matcher.rb', line 18

def has_many(line, opt = {})
  
end

#has_one(line, opt = {}) ⇒ Object



14
15
16
# File 'lib/cmd_matcher.rb', line 14

def has_one(line, opt = {})
  
end

#head(line, opt = {}) ⇒ Object



10
11
12
# File 'lib/cmd_matcher.rb', line 10

def head(line, opt = {})
  
end

#match(prompts) ⇒ Object



22
23
24
# File 'lib/cmd_matcher.rb', line 22

def match(prompts)
  
end