Class: ModSpox::Messages::Incoming::LuserClient

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

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, user, invis, servers, services) ⇒ LuserClient

Returns a new instance of LuserClient.



14
15
16
17
18
19
20
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 14

def initialize(raw, user, invis, servers, services)
    super(raw)
    @users = user
    @invisible = invis
    @servers = servers
    @services = services
end

Instance Attribute Details

#invisibleObject (readonly)

number of invisible users



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

def invisible
  @invisible
end

#serversObject (readonly)

number of servers



11
12
13
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 11

def servers
  @servers
end

#servicesObject (readonly)

number of services



13
14
15
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 13

def services
  @services
end

#usersObject (readonly)

number of visible users



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

def users
  @users
end