Module: TechnoGate::Contao::Notifier
Instance Method Summary collapse
- #error(message, options = {}) ⇒ Object
- #notify(message, options = {}) ⇒ Object
- #warn(message, options = {}) ⇒ Object
Instance Method Details
#error(message, options = {}) ⇒ Object
16 17 18 |
# File 'lib/contao/notifier.rb', line 16 def error(, = {}) say(, .merge(color: 31)) end |
#notify(message, options = {}) ⇒ Object
8 9 10 |
# File 'lib/contao/notifier.rb', line 8 def notify(, = {}) say(, .merge(color: 32)) end |
#warn(message, options = {}) ⇒ Object
12 13 14 |
# File 'lib/contao/notifier.rb', line 12 def warn(, = {}) say(, .merge(color: 33)) end |