# File lib/protest/utils/colorful_output.rb, line 44 def print(string=nil, state=:normal) if string.nil? # calling IO#puts with nil is not the same as with no args stream.print else stream.print colorize(string, state) end end