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.



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

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

Instance Attribute Details

#unknownObject (readonly)

number of unknown users



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

def unknown
  @unknown
end