Sha256: 08586e25f8c0e19ba7640c6dee7d6b0422bb7424061107a93a0310d97c972f4d

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

#!/usr/bin/env ruby

=begin

markup.rb

Luca Russo <vargolo@gmail.com>
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", "<b>Markup</b> <u>test</u>\n<i> ...savvy?</i>", 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/markup.rb