Class: Irc::QuitMessage

Inherits:
BasicUserMessage show all
Defined in:
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

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

Returns a new instance of QuitMessage.



647
648
649
650
# File 'lib/rbot/message.rb', line 647

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

Instance Attribute Details

#was_onObject

Returns the value of attribute was_on.



646
647
648
# File 'lib/rbot/message.rb', line 646

def was_on
  @was_on
end