lib/notifier/kdialog.rb in notifier-0.5.0 vs lib/notifier/kdialog.rb in notifier-0.5.1

- old
+ new

@@ -7,13 +7,14 @@ end def notify(options) command = [ "kdialog", - "--title", options[:title], - "--passivepopup", options[:message], "5" + "--title", options[:title].to_s, + "--passivepopup", options[:message].to_s, + "5" ] - Thread.new { system(*command) } + Thread.new { system(*command) }.join end end end