Class: Net::IRC::ReplyWithTarget
Direct Known Subclasses
Error, ReplyWithChannel, ReplyWithCount, ReplyWithRegistryParameters, RplCreated, RplGlobalusers, RplIsupport, RplLocalusers, RplLuserclient, RplLuserme, RplMyinfo, RplStatsconn, RplWelcome
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#target ⇒ Object
Returns the value of attribute target.
Attributes inherited from Reply
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(prefix, command, target, *args) ⇒ ReplyWithTarget
constructor
A new instance of ReplyWithTarget.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(prefix, command, target, *args) ⇒ ReplyWithTarget
Returns a new instance of ReplyWithTarget.
271 272 273 274 |
# File 'lib/net/irc.rb', line 271 def initialize(prefix, command, target, *args) @target = target super(prefix, command, @target, *args) end |
Instance Attribute Details
#target ⇒ Object
Returns the value of attribute target.
269 270 271 |
# File 'lib/net/irc.rb', line 269 def target @target end |