Parent

Methods

Included Modules

Class Index [+]

Quicksearch

Ramaze::Logger::Knotify

Informer for the Knotify notfication system used on KDE. Doesn’t need any special libraries.

Public Instance Methods

log(tag, *messages) click to toggle source

Please see for more information on the API used here: lukeplant.me.uk/articles.php?id=3

@param [String] tag @param [Hash] args

    # File lib/ramaze/log/knotify.rb, line 22
22:       def log(tag, *messages)
23:         present = class_trait[:present]
24:         tag = tag.to_s.capitalize
25:         messages.flatten.each do |message|
26:           system(%{dcop knotify default notify Ramaze "#{tag}" "#{message}" '' '' #{present} 0})
27:         end
28:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.