Class: Net::IRC::ReplyWithChannel
- Inherits:
-
ReplyWithTarget
- Object
- Message
- Reply
- ReplyWithTarget
- Net::IRC::ReplyWithChannel
- Defined in:
- lib/net/irc.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
Attributes inherited from ReplyWithTarget
Attributes inherited from Reply
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(prefix, command, target, channel, *args) ⇒ ReplyWithChannel
constructor
A new instance of ReplyWithChannel.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(prefix, command, target, channel, *args) ⇒ ReplyWithChannel
Returns a new instance of ReplyWithChannel.
401 402 403 404 |
# File 'lib/net/irc.rb', line 401 def initialize(prefix, command, target, channel, *args) @channel = channel super(prefix, command, target, @channel, *args) end |
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
399 400 401 |
# File 'lib/net/irc.rb', line 399 def channel @channel end |