Class: Net::IRC::RplYourhost

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

Overview

002 <target> :Your host is <servername>, running version <ver>

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

Returns a new instance of RplYourhost.



286
287
288
# File 'lib/net/irc.rb', line 286

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