Method: Notifies.notify
- Defined in:
- lib/notifies.rb
.notify(msg, options = {}) ⇒ Object
16 17 18 19 20 |
# File 'lib/notifies.rb', line 16 def self.notify msg, = {} return false if !@@enabled or (.key?(:enabled) and ![:enabled]) n = notifier n ? n.notify(msg, ) : nil end |