class A4Tools::StandardOutput

Attributes

color[RW]

Public Instance Methods

close() click to toggle source
# File lib/net_shell/io.rb, line 20
def close
end
print(s="") click to toggle source
puts(s="") click to toggle source
# File lib/net_shell/io.rb, line 27
def puts(s="")
  write s.to_s+"\n"
end
write(s) click to toggle source
# File lib/net_shell/io.rb, line 15
def write(s)
  s = s.unstyle unless @color
  $stdout.write s.gsub("\t", "  ").gsub("\n","\r\n")
end