Show
Ignore:
Timestamp:
01/26/08 19:08:36 (5 years ago)
Author:
cho45
Message:

lang/ruby/net-irc/trunk/test/net-irc_test.rb,
lang/ruby/net-irc/trunk/README,
lang/ruby/net-irc/trunk/examples/lig.rb:

Append documentation.
Append test.
Autodownload lingr library.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/net-irc/trunk/examples/lig.rb

    r5536 r5555  
    77 
    88# http://svn.lingr.com/api/toolkits/ruby/infoteria/api_client.rb 
    9 require 'api_client' 
     9begin 
     10        require "api_client" 
     11rescue LoadError 
     12        require "net/http" 
     13        File.open("api_client.rb", "w") do |f| 
     14                f.puts Net::HTTP.get("http://svn.lingr.com/api/toolkits/ruby/infoteria/api_client.rb") 
     15        end 
     16        require "api_client" 
     17end 
    1018 
    1119require "net/irc" 
     
    182190}) 
    183191 
    184 Net::IRC::Server.new("localhost", 16669, LingrIrcGateway, { 
    185         :api_key => @config["api_key"] 
    186 }).start 
     192Net::IRC::Server.new("localhost", 16669, LingrIrcGateway, @config).start 
    187193