#!/usr/bin/env ruby =begin info.rb Luca Russo 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