Class: Meshchat::Ui::Notifier::LibNotify
- Defined in:
- lib/meshchat/ui/notifier/lib_notify.rb
Overview
Inherit from base to obtain singletonness
Meshchat uses singletons for notifications, because an OS generally only has one notification system
Instance Method Summary collapse
-
#show(*args) ⇒ Object
this is the only method that needs to be overwritten.
Methods inherited from Base
Instance Method Details
#show(*args) ⇒ Object
this is the only method that needs to be overwritten
11 12 13 14 15 |
# File 'lib/meshchat/ui/notifier/lib_notify.rb', line 11 def show(*args) .update(*args) do |notify| yield(notify) if block_given? end end |