Sha256: 342833cf08b4ad71107def818d054242b1000b73670181f8f035410389435e25

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

#!/usr/bin/env ruby

=begin

info.rb

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

ruby-libnotify info example

=end

begin
  require 'RNotify'
rescue LoadError
  require 'rubygems'
  require 'RNotify'
end

Notify.init("Test8")

puts "APPLICATION NAME: #{Notify.name}\n"
puts "SERVER CAPS:      #{Notify.server_caps}\n"
puts "SERVER INFO:      #{Notify.server_info}\n"

Notify.uninit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-libnotify-0.5.0 examples/info.rb