Method: Glyph::Utils#error

Defined in:
lib/glyph/utils.rb

#error(message) ⇒ Object

Prints an error

Parameters:

  • message (String)

    the message to print

Since:

  • 0.4.0


27
28
29
# File 'lib/glyph/utils.rb', line 27

def error(message)
  puts "=> error: #{message}" unless Glyph['system.quiet']
end