Class: Irc::NamesMessage
- Inherits:
-
BasicUserMessage
- Object
- BasicUserMessage
- Irc::NamesMessage
- Defined in:
- /home/apoc/projects/ruby/rbot/lib/rbot/message.rb
Overview
class to manage NAME replies
Instance Attribute Summary (collapse)
-
- (Object) users
Returns the value of attribute users.
Attributes inherited from BasicUserMessage
#bot, #ignored, #in_thread, #logmessage, #message, #plainmessage, #replied, #server, #source, #target, #time
Instance Method Summary (collapse)
-
- (NamesMessage) initialize(bot, server, source, target, message = "")
constructor
A new instance of NamesMessage.
- - (Object) inspect
Methods inherited from BasicUserMessage
#address?, #botuser, #identified?, #parse_channel_list, #prefixed?, #recurse_depth, #recurse_depth=, #sourceaddress, #sourcenick, strip_formatting, strip_initial_formatting, stripcolour
Constructor Details
- (NamesMessage) initialize(bot, server, source, target, message = "")
Returns a new instance of NamesMessage
633 634 635 636 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 633 def initialize(bot, server, source, target, ="") super(bot, server, source, target, ) @users = [] end |
Instance Attribute Details
- (Object) users
Returns the value of attribute users
632 633 634 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 632 def users @users end |
Instance Method Details
- (Object) inspect
638 639 640 641 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 638 def inspect fields = ' users=' << users.inspect super(fields) end |