Class: Net::IRC::RplIsupport
- Inherits:
-
ReplyWithTarget
- Object
- Message
- Reply
- ReplyWithTarget
- Net::IRC::RplIsupport
- Defined in:
- lib/net/irc.rb
Overview
005 <target> ( [ “-” ] <parameter> ) | ( <parameter> “=” [ <value> ] ) *( ( [ “-” ] <parameter> ) | ( <parameter> “=” [ <value> ] ) ) :are supported by this server
Defined Under Namespace
Classes: Parameter
Constant Summary
Constants inherited from Message
Instance Attribute Summary
Attributes inherited from ReplyWithTarget
Attributes inherited from Reply
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(target, *args) ⇒ RplIsupport
constructor
A new instance of RplIsupport.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(target, *args) ⇒ RplIsupport
Returns a new instance of RplIsupport.
331 332 333 334 335 336 337 |
# File 'lib/net/irc.rb', line 331 def initialize(target, *args) raise ArgumentError, "wrong number of arguments (#{1 + args.size} for 3)" if args.size < 2 @parameters = args[0..-2].collect { |p| Parameter.new(p) } super(nil, 'RPL_ISUPPORT', target, *args) end |