Class: Ramaze::Knotify
- Includes:
- Logging
- Defined in:
- lib/ramaze/log/knotify.rb
Overview
Informer for the Knotify notfication system used on KDE. Doesn’t need any special libraries.
Instance Method Summary collapse
-
#log(tag, *messages) ⇒ Object
Please see for more information on the API used here: lukeplant.me.uk/articles.php?id=3.
Methods included from Logging
#debug, #debug?, #dev, #error, #info, #shutdown, #tag_log, #warn
Instance Method Details
#log(tag, *messages) ⇒ Object
Please see for more information on the API used here: lukeplant.me.uk/articles.php?id=3
17 18 19 20 21 22 23 |
# File 'lib/ramaze/log/knotify.rb', line 17 def log(tag, *) present = class_trait[:present] tag = tag.to_s.capitalize .flatten.each do || system(%{dcop knotify default notify Ramaze "#{tag}" "#{}" '' '' #{present} 0}) end end |