Module: TechnoGate::Contao::Notifier

Extended by:
Notifier
Included in:
Notifier
Defined in:
lib/contao/notifier.rb

Instance Method Summary collapse

Instance Method Details

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



16
17
18
# File 'lib/contao/notifier.rb', line 16

def error(message, options = {})
  say(message, options.merge(color: 31))
end

#notify(message, options = {}) ⇒ Object



8
9
10
# File 'lib/contao/notifier.rb', line 8

def notify(message, options = {})
  say(message, options.merge(color: 32))
end

#warn(message, options = {}) ⇒ Object



12
13
14
# File 'lib/contao/notifier.rb', line 12

def warn(message, options = {})
  say(message, options.merge(color: 33))
end