Class: TestBench::Output::Writer::Substitute::Writer
Instance Attribute Summary
#alternate_device, #buffer, #column_sequence, #device, #digest, #indentation_depth, #peer, #sequence, #styling_policy
Class Method Summary
collapse
Instance Method Summary
collapse
#branch, configure, #current?, #decrease_indentation, #flush, follow, #follows?, #increase_indentation, #indent, #print, #puts, #style, #styling?, #sync, #sync=, #tty?, #write, #written?
Class Method Details
.build ⇒ Object
15
16
17
18
19
|
# File 'lib/test_bench/output/writer/substitute.rb', line 15
def self.build
instance = new
instance.buffer.limit = 0
instance
end
|
Instance Method Details
#styling! ⇒ Object
21
22
23
|
# File 'lib/test_bench/output/writer/substitute.rb', line 21
def styling!
self.styling_policy = Styling.on
end
|
#written_data ⇒ Object
Also known as:
written_text
10
11
12
|
# File 'lib/test_bench/output/writer/substitute.rb', line 10
def written_data
device.written_data
end
|