Class: ModSpox::Messages::Incoming::LuserMe
- Defined in:
- lib/mod_spox/messages/incoming/LuserMe.rb
Instance Attribute Summary collapse
-
#clients ⇒ Object
readonly
number of clients on server.
-
#servers ⇒ Object
readonly
number of servers.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, clients, servers) ⇒ LuserMe
constructor
A new instance of LuserMe.
Constructor Details
#initialize(raw, clients, servers) ⇒ LuserMe
Returns a new instance of LuserMe.
10 11 12 13 14 |
# File 'lib/mod_spox/messages/incoming/LuserMe.rb', line 10 def initialize(raw, clients, servers) super(raw) @clients = clients @servers = servers end |
Instance Attribute Details
#clients ⇒ Object (readonly)
number of clients on server
7 8 9 |
# File 'lib/mod_spox/messages/incoming/LuserMe.rb', line 7 def clients @clients end |
#servers ⇒ Object (readonly)
number of servers
9 10 11 |
# File 'lib/mod_spox/messages/incoming/LuserMe.rb', line 9 def servers @servers end |