Class: Net::IRC::ReplyWithRegistryParameters
- Inherits:
-
ReplyWithTarget
- Object
- Message
- Reply
- ReplyWithTarget
- Net::IRC::ReplyWithRegistryParameters
- Defined in:
- lib/net/irc.rb
Overview
901 <target> <id> <username> <hostname> :You are now logged in. (id <id>, username <username>, hostname <hostname>)
Direct Known Subclasses
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#id ⇒ Object
Returns the value of attribute id.
-
#username ⇒ Object
Returns the value of attribute username.
Attributes inherited from ReplyWithTarget
Attributes inherited from Reply
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(prefix, command, target, id, username, hostname, text) ⇒ ReplyWithRegistryParameters
constructor
A new instance of ReplyWithRegistryParameters.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
#initialize(prefix, command, target, id, username, hostname, text) ⇒ ReplyWithRegistryParameters
Returns a new instance of ReplyWithRegistryParameters.
494 495 496 497 498 499 500 |
# File 'lib/net/irc.rb', line 494 def initialize(prefix, command, target, id, username, hostname, text) @id = id @username = username @hostname = hostname super(prefix, command, target, id, username, hostname, text) end |
Instance Attribute Details
#hostname ⇒ Object
Returns the value of attribute hostname.
492 493 494 |
# File 'lib/net/irc.rb', line 492 def hostname @hostname end |
#id ⇒ Object
Returns the value of attribute id.
492 493 494 |
# File 'lib/net/irc.rb', line 492 def id @id end |
#username ⇒ Object
Returns the value of attribute username.
492 493 494 |
# File 'lib/net/irc.rb', line 492 def username @username end |