Module: IRC::Handlers

Defined in:
lib/irc-qik-bot/irc-handlers.rb,
lib/irc-qik-bot/handlers/irc-handlers-socket.rb,
lib/irc-qik-bot/handlers/irc-handlers-channel.rb

Defined Under Namespace

Modules: Channel, Socket

Class Method Summary collapse

Class Method Details

.channel(irc_motor, irc_stream) ⇒ Object



15
16
17
# File 'lib/irc-qik-bot/irc-handlers.rb', line 15

def self.channel(irc_motor, irc_stream)
  IRC::Handlers::Channel.response irc_motor, irc_stream
end

.socket(server, port) ⇒ Object



11
12
13
# File 'lib/irc-qik-bot/irc-handlers.rb', line 11

def self.socket(server, port)
  IRC::Handlers::Socket.tcp_connect server, port
end