Class: Irc::BanlistMessage
- Inherits:
-
BasicUserMessage
- Object
- BasicUserMessage
- Irc::BanlistMessage
- Defined in:
- /home/apoc/projects/ruby/rbot/lib/rbot/message.rb
Overview
class to manager Ban list replies
Instance Attribute Summary (collapse)
-
- (Object) bans
the bans.
Attributes inherited from BasicUserMessage
#bot, #ignored, #in_thread, #logmessage, #message, #plainmessage, #replied, #server, #source, #target, #time
Instance Method Summary (collapse)
-
- (BanlistMessage) initialize(bot, server, source, target, message = "")
constructor
A new instance of BanlistMessage.
- - (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
- (BanlistMessage) initialize(bot, server, source, target, message = "")
Returns a new instance of BanlistMessage
649 650 651 652 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 649 def initialize(bot, server, source, target, ="") super(bot, server, source, target, ) @bans = [] end |
Instance Attribute Details
- (Object) bans
the bans
647 648 649 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 647 def bans @bans end |
Instance Method Details
- (Object) inspect
654 655 656 657 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 654 def inspect fields = ' bans=' << bans.inspect super(fields) end |