RubyããGrowl for window ã«GNTPã§Growléç¥ããã©ã¤ãã©ãªã£ã½ããã®æ¸ãã
socket使ãã®ã»ã¨ãã©ã¯ããã¦ã ãããã©ãããã³ãããããªãã
ã¨ãããããããã¦ã¿ãã
Growl for Windowsã§ãããããªæãã§ä½¿ãã
require 'gntp' growl = GNTP.new({:app_name => "Ruby/GNTP self test"}) growl.register({ :notifies => [{ :name => "hoge", :enabled => true, }] }) growl.notify({ :name => "hoge", :title => "GrowlTestã§ã", :text => "hogeã»ãï¼", :icon => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif" })
ã¨ããããã®ã³ã¼ã
gemã®ä½ãæ¹ãããã£ãããã¡ããã¨ããgitãªãã¸ããªä½ãã¤ããã
追è¨:2009.4.5
ï¼ãã¶ãï¼ã§ãããã¨:
- GNTPã¯ã©ã¤ã¢ã³ãã¨ãã¦ãGNTPãµã¼ãã¸ã®éç¥
- localhostã«å¯¾ããéç¥
- ãããã¯ã¼ã¯å
ã®GNTPãµã¼ãã¸ã®éç¥ï¼ã¾ã 試ãã¦ãªãï¼
- ã³ã³ã¹ãã©ã¯ã¿ã«
:host => 'IPã¢ãã¬ã¹orãã¹ãå', :port => ãã¼ãçªå·
ã追å ããã
- ã³ã³ã¹ãã©ã¯ã¿ã«
ã§ããªããã¨:
- ã¡ãã»ã¼ã¸ã®æå·å
- ã³ã¼ã«ããã¯ã®ç»é²
- éç¥ã®è»¢é
- GNTPãµã¼ãã¨ãã¦åä½ããããã¨