Methods

Class/Module Index [+]

Quicksearch

Irc::JoinMessage

class to manage channel joins

Attributes

channel[R]

channel joined

Public Class Methods

new(bot, server, source, channel, message="") click to toggle source
# File lib/rbot/message.rb, line 688
def initialize(bot, server, source, channel, message="")
  super(bot, server, source, channel, message)
  @channel = channel
  # in this case sourcenick is the nick that could be the bot
  @address = (source == @bot.myself)
end

Public Instance Methods

inspect() click to toggle source
# File lib/rbot/message.rb, line 683
def inspect
  fields = ' channel=' << channel.to_s
  super(fields)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.