Class: Irc::QuitMessage
- Inherits:
-
BasicUserMessage
- Object
- BasicUserMessage
- Irc::QuitMessage
- Defined in:
- lib/rbot/message.rb
Instance Attribute Summary collapse
-
#was_on ⇒ Object
Returns the value of attribute was_on.
Attributes inherited from BasicUserMessage
#bot, #ignored, #in_thread, #logmessage, #message, #plainmessage, #replied, #server, #source, #target, #time
Instance Method Summary collapse
-
#initialize(bot, server, source, target, message = "") ⇒ QuitMessage
constructor
A new instance of QuitMessage.
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, ="") super(bot, server, source, target, ) @was_on = [] end |
Instance Attribute Details
#was_on ⇒ Object
Returns the value of attribute was_on.
646 647 648 |
# File 'lib/rbot/message.rb', line 646 def was_on @was_on end |