Sha256: 1986d3fd845b1d1f6fe578a7beb680cb9f7b4d3ad151015539fdea53fca83204

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

= Ruby-IRC

Framework for IRC clients

== What is it?

Ruby-IRC is a simple framework for creating clients for IRC. It will
monitor multiple IO sockets for data. Allows user defined handlers
for IRC events.

== A simple usage example

    bot = IRC.new("Nickname", "server.example.com", "6667", "Realname")
    IRCEvent.add_callback('endofmotd') { |event| bot.add_channel('#eris') }
    IRCEvent.add_callback('join') { |event|
        bot.send_message(event.channel, "Hello #{event.from}")
    }
    bot.connect

== Author
Chris Boyer

email: cboyer@musiciansfriend.com

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cerberus-0.7.6 lib/vendor/irc/README
cerberus-0.7.2 lib/vendor/irc/README
cerberus-0.7.5 lib/vendor/irc/README
cerberus-0.7 lib/vendor/irc/README