class Nab::StdoutWriter

Public Class Methods

new(destination, asset_name) click to toggle source
# File lib/nab/writers/stdout_writer.rb, line 5
def initialize(destination, asset_name)
  Nab::Log.info "Writing to STDOUT"
end

Public Instance Methods

close() click to toggle source
# File lib/nab/writers/stdout_writer.rb, line 15
def close
end
write(data) click to toggle source
# File lib/nab/writers/stdout_writer.rb, line 9
def write data
  STDOUT.sync = true
  print data
  STDOUT.sync = false
end