Class: Net::IRC::ReplyWithCount

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

Direct Known Subclasses

RplLuserchannels, RplLuserop

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, count, text) ⇒ ReplyWithCount

Returns a new instance of ReplyWithCount.



357
358
359
360
# File 'lib/net/irc.rb', line 357

def initialize(prefix, command, target, count, text)
  @count = count
  super(prefix, command, target, count, text)
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



355
356
357
# File 'lib/net/irc.rb', line 355

def count
  @count
end