Class: Net::IRC::RplWelcome

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

Overview

001 <target> :Welcome to the Internet Relay Network <nick>!<user>@<host>

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) ⇒ RplWelcome

Returns a new instance of RplWelcome.



279
280
281
# File 'lib/net/irc.rb', line 279

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