Class: Net::IRC::ReplyWithChannel

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

Direct Known Subclasses

RplEndofnames, RplTopic, RplTopicwhotime

Constant Summary

Constants inherited from Message

Message::COMMAND_MAPS

Instance Attribute Summary collapse

Attributes inherited from ReplyWithTarget

#target

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, channel, *args) ⇒ ReplyWithChannel

Returns a new instance of ReplyWithChannel.



401
402
403
404
# File 'lib/net/irc.rb', line 401

def initialize(prefix, command, target, channel, *args)
  @channel = channel
  super(prefix, command, target, @channel, *args)
end

Instance Attribute Details

#channelObject

Returns the value of attribute channel.



399
400
401
# File 'lib/net/irc.rb', line 399

def channel
  @channel
end