Sha256: 95ad1f5609330816a542acea01e7769e265fcfb8b98d703c1a6da1fcc7aa7601

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

#!/usr/bin/env ruby

=begin

info.rb

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

ruby-libnotify info example

=end

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

Notify.init("Test8")

puts "APPLICATION NAME: #{Notify.app_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.4.1 examples/info.rb