class Datacenter::Shell::Local::SafeIO

Public Class Methods

new(io) click to toggle source
Calls superclass method
# File lib/datacenter/shell/local.rb, line 6
def initialize(io)
  @io = io
  super StringIO.new
end

Public Instance Methods

write(message) click to toggle source
Calls superclass method
# File lib/datacenter/shell/local.rb, line 11
def write(message)
  super message
  @io.write message
end