Class/Module Index [+]

Quicksearch

Irc::NickMessage

class to pass IRC Nick changes in. @message contains the old nickame, @sourcenick contains the new one.

Attributes

is_on[RW]

Public Class Methods

new(bot, server, source, oldnick, newnick) click to toggle source
# File lib/rbot/message.rb, line 564
def initialize(bot, server, source, oldnick, newnick)
  super(bot, server, source, oldnick, newnick)
  @address = (source == @bot.myself)
  @is_on = []
end

Public Instance Methods

inspect() click to toggle source
# File lib/rbot/message.rb, line 578
def inspect
  fields = ' old=' << oldnick
  fields << ' new=' << newnick
  super(fields)
end
newnick() click to toggle source
# File lib/rbot/message.rb, line 574
def newnick
  return @message
end
oldnick() click to toggle source
# File lib/rbot/message.rb, line 570
def oldnick
  return @target
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.