class ColoredIO
def initialize(io)
def initialize(io) @io = io end
def print(o)
def print(o) case o when "." then @io.send(:print, o.green) when "E" then @io.send(:print, o.red) when "F" then @io.send(:print, o.yellow) when "S" then @io.send(:print, o.magenta) else @io.send(:print, o) end end
def puts(*o)
def puts(*o) super end