Class: ModSpox::Messages::Outgoing::Whois
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Whois
- Defined in:
- lib/mod_spox/messages/outgoing/Whois.rb
Instance Attribute Summary collapse
-
#nick ⇒ Object
readonly
nick to whois.
-
#target_server ⇒ Object
readonly
server to query.
Instance Method Summary collapse
-
#initialize(nick, target_server = '') ⇒ Whois
constructor
- nick
- nick to whois target_server
-
server to query Query information about a user.
Constructor Details
#initialize(nick, target_server = '') ⇒ Whois
- nick
-
nick to whois
- target_server
-
server to query
Query information about a user
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/Whois.rb', line 12 def initialize(nick, target_server='') @nick = nick @target_server = target_server end |
Instance Attribute Details
#nick ⇒ Object (readonly)
nick to whois
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Whois.rb', line 6 def nick @nick end |
#target_server ⇒ Object (readonly)
server to query
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Whois.rb', line 8 def target_server @target_server end |