Sha256: d877ed64f1ab2260dc6d736d011fcd22da965ffcdaba2e623075bf98c90838e0
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
#!/usr/bin/env ruby =begin base.rb Luca Russo <vargolo@gmail.com> Copyright (LGPL) 2006 - 2011 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) test.timeout= 5000 # 5 seconds test.show
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-libnotify-0.5.0 | examples/base.rb |