Method: Guard::CoffeeScript::Formatter.error

Defined in:
lib/guard/coffeescript/formatter.rb

.error(message, options = { }) ⇒ Object

Print a red error message to the console.

Parameters:

  • message (String)

    the message to print

  • options (Hash) (defaults to: { })

    the output options

Options Hash (options):

  • :reset (Boolean)

    reset the UI



37
38
39
# File 'lib/guard/coffeescript/formatter.rb', line 37

def error(message, options = { })
  ::Guard::UI.error(color(message, ';31'), options)
end