Parent

Methods

Included Modules

Class/Module 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
def log(tag, *messages)
  present = class_trait[:present]
  tag = tag.to_s.capitalize
  messages.flatten.each do |message|
    system(%{dcop knotify default notify Ramaze "#{tag}" "#{message}" '' '' #{present} 0})
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.