Class: Net::IRC::ReplyWithCount
- Inherits:
-
ReplyWithTarget
- Object
- Message
- Reply
- ReplyWithTarget
- Net::IRC::ReplyWithCount
- Defined in:
- lib/net/irc.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
Attributes inherited from ReplyWithTarget
Attributes inherited from Reply
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(prefix, command, target, count, text) ⇒ ReplyWithCount
constructor
A new instance of ReplyWithCount.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(prefix, command, target, count, text) ⇒ ReplyWithCount
Returns a new instance of ReplyWithCount.
357 358 359 360 |
# File 'lib/net/irc.rb', line 357 def initialize(prefix, command, target, count, text) @count = count super(prefix, command, target, count, text) end |
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
355 356 357 |
# File 'lib/net/irc.rb', line 355 def count @count end |