Class: Net::IRC::RplCreated

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

Overview

003 <target> :This server was created <date>

Constant Summary

Constants inherited from Message

Message::COMMAND_MAPS

Instance Attribute Summary

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(target, text) ⇒ RplCreated

Returns a new instance of RplCreated.



293
294
295
# File 'lib/net/irc.rb', line 293

def initialize(target, text)
  super(nil, 'RPL_CREATED', target, text)
end