Sha256: 5ba91d081970720fc8da868e3a3569a64bad5afa7b1b050c0379f846299a6c79
Contents?: true
Size: 383 Bytes
Versions: 7
Compression:
Stored size: 383 Bytes
Contents
module TestNotifier module Notifier module Knotify extend self def supported? RUBY_PLATFORM =~ /(linux|freebsd)/ && `ps -Al | grep dcop` && $? == 0 end def notify(options) Thread.new do `dcop knotify default notify eventname \'#{options[:title]}\' \'#{options[:message]}\' '' '' 16 2` end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems