Module: Ponder::AsyncIRC::Delegate

Included in:
Thaum
Defined in:
lib/ponder/async_irc.rb

Instance Method Summary collapse

Instance Method Details

#channel_info(channel, timeout_after = AsyncIRC::Channel::TIMEOUT) ⇒ Object



146
147
148
# File 'lib/ponder/async_irc.rb', line 146

def channel_info(channel, timeout_after = AsyncIRC::Channel::TIMEOUT)
  AsyncIRC::Channel.new(channel, timeout_after, self)
end

#get_topic(channel, timeout_after = AsyncIRC::Topic::TIMEOUT) ⇒ Object



138
139
140
# File 'lib/ponder/async_irc.rb', line 138

def get_topic(channel, timeout_after = AsyncIRC::Topic::TIMEOUT)
  AsyncIRC::Topic.new(channel, timeout_after, self)
end

#whois(nick, timeout_after = AsyncIRC::Whois::TIMEOUT) ⇒ Object



142
143
144
# File 'lib/ponder/async_irc.rb', line 142

def whois(nick, timeout_after = AsyncIRC::Whois::TIMEOUT)
  AsyncIRC::Whois.new(nick, timeout_after, self)
end