#!/usr/bin/env ruby =begin markup.rb Luca Russo Copyright (LGPL) 2006 - 2011 ruby-libnotify markup example =end begin require 'RNotify' rescue LoadError require 'rubygems' require 'RNotify' end Notify.init("Test6") test = Notify::Notification.new("Test 6", "Markup test\n ...savvy?", nil, nil) test.timeout= 5000 #5 seconds test.show sleep(2) test.close Notify.uninit