Class: Net::IRC::RplNamreply
Overview
353 <target> ( “=” | “*” | “@” ) <channel> :[ “@” | “+” ] <nick> *( “ ” [ “@” / “+” ] <nick> )
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#channel_type ⇒ Object
Returns the value of attribute channel_type.
-
#names ⇒ Object
Returns the value of attribute names.
Attributes inherited from Reply
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(target, channel_type, channel, names) ⇒ RplNamreply
constructor
A new instance of RplNamreply.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(target, channel_type, channel, names) ⇒ RplNamreply
Returns a new instance of RplNamreply.
429 430 431 432 433 434 |
# File 'lib/net/irc.rb', line 429 def initialize(target, channel_type, channel, names) @channel_type = channel_type @channel = channel @names = names.split(' ') super(nil, 'RPL_NAMREPLY', target, @channel_type, @channel, names, nil) end |
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
427 428 429 |
# File 'lib/net/irc.rb', line 427 def channel @channel end |
#channel_type ⇒ Object
Returns the value of attribute channel_type.
427 428 429 |
# File 'lib/net/irc.rb', line 427 def channel_type @channel_type end |
#names ⇒ Object
Returns the value of attribute names.
427 428 429 |
# File 'lib/net/irc.rb', line 427 def names @names end |