Class: StreamWrapper

Inherits:
Object show all
Defined in:
lib/ceedling/stream_wrapper.rb

Instance Method Summary collapse

Constructor Details

#initializeStreamWrapper

Returns a new instance of StreamWrapper.



29
30
31
32
# File 'lib/ceedling/stream_wrapper.rb', line 29

def initialize
  STDOUT.sync
  STDERR.sync
end

Instance Method Details

#stderr_puts(string) ⇒ Object



38
39
40
# File 'lib/ceedling/stream_wrapper.rb', line 38

def stderr_puts(string)
  $stderr.puts(string)
end

#stdout_puts(string) ⇒ Object



34
35
36
# File 'lib/ceedling/stream_wrapper.rb', line 34

def stdout_puts(string)
  $stdout.puts(string)
end