Sha256: bf01944f6a99352d1efd4f8d5869adc5d0b189b8ca99cb5f95bd0077b8507c1d

Contents?: true

Size: 323 Bytes

Versions: 7

Compression:

Stored size: 323 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
agig-0.2.0 lib/agig/client.rb
agig-0.1.5 lib/agig/client.rb
agig-0.1.4 lib/agig/client.rb
agig-0.1.3 lib/agig/client.rb
agig-0.1.2 lib/agig/client.rb
agig-0.1.1 lib/agig/client.rb
agig-0.1.0 lib/agig/client.rb