Class: Net::IRC::ReplyWithTarget

Inherits:
Reply show all
Defined in:
lib/net/irc.rb

Constant Summary

Constants inherited from Message

Message::COMMAND_MAPS

Instance Attribute Summary collapse

Attributes inherited from Reply

#text

Attributes inherited from Message

#command, #parameters, #prefix

Instance Method Summary collapse

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

#targetObject

Returns the value of attribute target.



269
270
271
# File 'lib/net/irc.rb', line 269

def target
  @target
end