Class: ModSpox::Messages::Incoming::LuserClient
- Defined in:
- lib/mod_spox/messages/incoming/LuserClient.rb
Instance Attribute Summary collapse
-
#invisible ⇒ Object
readonly
number of invisible users.
-
#servers ⇒ Object
readonly
number of servers.
-
#services ⇒ Object
readonly
number of services.
-
#users ⇒ Object
readonly
number of visible users.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, user, invis, servers, services) ⇒ LuserClient
constructor
A new instance of LuserClient.
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
#invisible ⇒ Object (readonly)
number of invisible users
9 10 11 |
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 9 def invisible @invisible end |
#servers ⇒ Object (readonly)
number of servers
11 12 13 |
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 11 def servers @servers end |
#services ⇒ Object (readonly)
number of services
13 14 15 |
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 13 def services @services end |
#users ⇒ Object (readonly)
number of visible users
7 8 9 |
# File 'lib/mod_spox/messages/incoming/LuserClient.rb', line 7 def users @users end |