Class: Irc::QuitMessage

Inherits:
BasicUserMessage show all
Defined in:
/home/apoc/projects/ruby/rbot/lib/rbot/message.rb

Instance Attribute Summary (collapse)

Attributes inherited from BasicUserMessage

#bot, #ignored, #in_thread, #logmessage, #message, #plainmessage, #replied, #server, #source, #target, #time

Instance Method Summary (collapse)

Methods inherited from BasicUserMessage

#address?, #botuser, #identified?, #inspect, #parse_channel_list, #prefixed?, #recurse_depth, #recurse_depth=, #sourceaddress, #sourcenick, strip_formatting, strip_initial_formatting, stripcolour

Constructor Details

- (QuitMessage) initialize(bot, server, source, target, message = "")

Returns a new instance of QuitMessage



662
663
664
665
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 662

def initialize(bot, server, source, target, message="")
  super(bot, server, source, target, message)
  @was_on = []
end

Instance Attribute Details

- (Object) was_on

Returns the value of attribute was_on



661
662
663
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 661

def was_on
  @was_on
end