Sha256: 990935a77837605fd90b788704db9ff3a2ddc3bbb35aec836c547095585576c4

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 Bytes

Contents

require 'rubygems'
require 'net/irc'
require 'logger'

module Agig::Client
  def self.run
    opts = Agig::OptParser.parse!(ARGV)

    opts[:logger] = Logger.new(opts[:log], "daily")
    opts[:logger].level = opts[:debug] ? Logger::DEBUG : Logger::INFO

    Net::IRC::Server.new(opts[:host], opts[:port], Agig::Session, opts).start
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
agig-0.0.6 lib/agig/client.rb
agig-0.0.5 lib/agig/client.rb
agig-0.0.4 lib/agig/client.rb
agig-0.0.3 lib/agig/client.rb
agig-0.0.2 lib/agig/client.rb
agig-0.0.1 lib/agig/client.rb