Class: FakePipe::AnyBlock
Overview
Catch all text block. Generic base state while a more interesting text block is not present.
Instance Attribute Summary
Attributes inherited from TextBlock
#delegate, #start_match, #table
Instance Method Summary
collapse
Methods inherited from TextBlock
#initialize, #on_start_text
Instance Method Details
#end_text?(line) ⇒ Boolean
14
15
16
|
# File 'lib/fake_pipe/any_block.rb', line 14
def end_text?(line)
true
end
|
#match_start_text(line) ⇒ Object
6
7
8
|
# File 'lib/fake_pipe/any_block.rb', line 6
def match_start_text(line)
true
end
|
#parse(line) ⇒ Object
18
19
20
|
# File 'lib/fake_pipe/any_block.rb', line 18
def parse(line)
line
end
|
#start_text? ⇒ Boolean
10
11
12
|
# File 'lib/fake_pipe/any_block.rb', line 10
def start_text?
true
end
|