Class: Net::IRC::ErrNeedreggednick
- Defined in:
- lib/net/irc.rb
Overview
477 <target> <channel> :<text>
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(target, channel, text) ⇒ ErrNeedreggednick
constructor
A new instance of ErrNeedreggednick.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(target, channel, text) ⇒ ErrNeedreggednick
Returns a new instance of ErrNeedreggednick.
483 484 485 486 487 |
# File 'lib/net/irc.rb', line 483 def initialize(target, channel, text) @channel = channel super(nil, 'ERR_NEEDREGGEDNICK', target, channel, text) end |
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
481 482 483 |
# File 'lib/net/irc.rb', line 481 def channel @channel end |