examples/markup.rb in ruby-libnotify-0.4.1.1 vs examples/markup.rb in ruby-libnotify-0.5.0
- old
+ new
@@ -18,12 +18,9 @@
require 'RNotify'
end
Notify.init("Test6")
-test = Notify::Notification.new("Test 6", "<b>Markup</b> <u>test</u>\n<i> ...savvy?</i>", nil, nil)
+test = Notify::Notification.new("Test 6", "<b>Markup</b> <u>test</u>\n<i> ...savvy?</i>", nil)
test.timeout= 5000 #5 seconds
test.show
-sleep(2)
-test.close
-Notify.uninit