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
# File lib/net_shell/io.rb, line 23 def print(s="") write s.to_s end
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