lib/guard/ui.rb
def error(message, options = { })
        unless ENV['GUARD_ENV'] == 'test'
          reset_line if options[:reset]
          puts color('ERROR: ', :red) + message
        end
      end
# Show a red error message that is prefixed with ERROR.
#
# @param [String] message the message to show
# @param [Hash] options the options
# @option options [Boolean] reset whether to clean the output before
#
Show a red error message that is prefixed with ERROR.
Show a red error message that is prefixed with ERROR .
def error(message, options = { })
        unless ENV['GUARD_ENV'] == 'test'
          reset_line if options[:reset]
          puts color('ERROR: ', :red) + message
        end
      end
def error ( message , options = { } ) unless ENV [ 'GUARD_ENV' ] == 'test' reset_line if options [ :reset ] puts color ( 'ERROR: ' , :red ) + message end end
Show a red error message that is prefixed with ERROR.
Show a red error message that is prefixed with ERROR .
message
options
reset whether to clean the output before
reset whether to clean the output before
options the options
options the options