module Guard::UI
def error(message, options = { })
(**options)
-
reset
(Boolean
) -- whether to clean the output before
Parameters:
-
message
(String
) -- the message to show
def error(message, options = { }) unless ENV['GUARD_ENV'] == 'test' reset_line if options[:reset] STDERR.puts color('ERROR: ', :red) + message end end