Monday, April 20, 2009

New Ruby library

Thanks to Snaka, there is now a Growl/GNTP library for Ruby.

Ruby GNTP library


require 'rubygems'
require 'ruby_gntp'

# -- Standard way
growl = GNTP.new("Ruby/GNTP self test")
growl.register({:notifications => [{
  :name     => "notify",
  :enabled  => true,
}]})

growl.notify({
  :name  => "notify",
  :title => "Congraturation",
  :text  => "Congraturation! You are successful install ruby_gntp.",
  :icon  => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif",
  :sticky=> true,
})

# -- Instant notification
GNTP.notify({
  :app_name => "Instant notify",
  :title    => "Instant notification", 
  :text     => "Instant notification available now.",
  :icon     => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif",
})

8 comments:

  1. Events take place in 4 different and beautifully rendered North American locations. download driver From Chua Tom: Help us to study cells and raising cells.

    ReplyDelete
  2. When advancing pages after recording, your recording will be played back. Find it here The developer would love to hear your comments / suggestions.

    ReplyDelete
  3. If you do not play What Color R U? within a 24 hour period, the score will be reset back to the beginning of the current level. Web page. -Map loads faster-Bug fixesand more features are a comin'

    ReplyDelete
  4. Love it""Makes it so easy to track my drug history. downlodable activation codes Added possibility to configure bound phone number 3.

    ReplyDelete
  5. Click Find Baby Names to view 25 names instead of 10. download pdf Very helpful comments from other users on your exercises.

    ReplyDelete
  6. -New Protocol-Fixed bug with saving user birth date-Updated artwork and icons. downlodable games Everword remembers your familiarity with that item.

    ReplyDelete
  7. The selection list change does not affect iOS6 or earlier operating systems. anatomia patologica robbins pdf So we want to bring this "Pocket Whiteboard iP3" to your innovative and revolutionary iPad.

    ReplyDelete