Class: Net::IRC::RplMotd

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

Overview

372 <target> :- <text>

Constant Summary

Constants inherited from Message

Message::COMMAND_MAPS

Instance Attribute Summary

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

Returns a new instance of RplMotd.



446
447
448
# File 'lib/net/irc.rb', line 446

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