Class: Cliqr::Command::Output::FileOutputStream Private

Inherits:
Object
  • Object
show all
Defined in:
lib/cliqr/command/output/file_output_stream.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Write output to a file

Instance Method Summary collapse

Instance Method Details

#write(message) ⇒ Nothing

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Write to a file and flush the stream

Returns:

  • (Nothing)


13
14
15
16
# File 'lib/cliqr/command/output/file_output_stream.rb', line 13

def write(message)
  puts message
  $stdout.flush
end