Class: ModSpox::Messages::Incoming::LuserUnknown

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

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, num) ⇒ LuserUnknown

Returns a new instance of LuserUnknown.



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

def initialize(raw, num)
    super(raw)
    @unknown = num
end

Instance Attribute Details

#unknownObject (readonly)

number of unknown users



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

def unknown
  @unknown
end