Class: MeshChat::Notifier::Base
- Inherits:
-
Object
- Object
- MeshChat::Notifier::Base
- Defined in:
- lib/meshchat/notifier/base.rb
Overview
This is the default notification implementation
-
Uses Libnotify
Only use one notification and update continuously, so that the notification area / tray doesn’t become flooded by this app
To write your own notifier, just override the show method in a subclass of this class
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.instance ⇒ Object
21 22 23 |
# File 'lib/meshchat/notifier/base.rb', line 21 def instance @instance ||= new end |
Instance Method Details
#show(*args) ⇒ Object
26 27 28 |
# File 'lib/meshchat/notifier/base.rb', line 26 def show(*args) # by default don't notify end |