Sha256: af54e1017b34cb840d49c92434f784d40b9ffbe231ee5542fff519e4cfea2dac
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
#!/usr/bin/env ruby =begin base.rb Luca Russo <vargolo@gmail.com> Copyright (LGPL) 2006 - 2010 ruby-libnotify basic example =end begin require 'RNotify' rescue LoadError require 'rubygems' require 'RNotify' end Notify.init("Test1") test = Notify::Notification.new("Test 1", "This is a test", nil, nil) test.timeout= 5000 # 5 seconds test.show sleep(5) test.close Notify.uninit
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-libnotify-0.4.1 | examples/base.rb |