Sha256: dbe6ec620f371833890bd78fab2782046451eea18811ad1d3719a2fe2fdb723f

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

#!/usr/bin/env ruby

=begin

markup.rb

Luca Russo <vargolo@gmail.com>
Copyright (LGPL) 2006 - 2010

ruby-libnotify markup example

=end

begin
  require 'RNotify'
rescue LoadError
  require 'rubygems'
  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.timeout= 5000      #5 seconds
test.show

sleep(2)
test.close
Notify.uninit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-libnotify-0.4.1 examples/markup.rb