Class: Meshchat::Ui::Notifier::Base
- Inherits:
-
Object
- Object
- Meshchat::Ui::Notifier::Base
- Defined in:
- lib/meshchat/ui/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
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.instance ⇒ Object
22 23 24 |
# File 'lib/meshchat/ui/notifier/base.rb', line 22 def instance @instance ||= new end |
Instance Method Details
#show(*args) ⇒ Object
27 28 29 |
# File 'lib/meshchat/ui/notifier/base.rb', line 27 def show(*args) # by default don't notify end |