Class: ModSpox::Messages::Incoming::LuserMe

Inherits:
Message
  • Object
show all
Defined in:
lib/mod_spox/messages/incoming/LuserMe.rb

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

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

#clientsObject (readonly)

number of clients on server



7
8
9
# File 'lib/mod_spox/messages/incoming/LuserMe.rb', line 7

def clients
  @clients
end

#serversObject (readonly)

number of servers



9
10
11
# File 'lib/mod_spox/messages/incoming/LuserMe.rb', line 9

def servers
  @servers
end