Module: TestBench::Controls::Output::NewlineCharacter

Defined in:
lib/test_bench/controls/output/newline_character.rb

Class Method Summary collapse

Class Method Details

.exampleObject



5
6
7
8
9
10
11
12
# File 'lib/test_bench/controls/output/newline_character.rb', line 5

def self.example
  str = String.new

  string_io = StringIO.new(str)
  string_io.puts('')

  str
end