Class: ModSpox::Messages::Incoming::LuserOp

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

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, num) ⇒ LuserOp

Returns a new instance of LuserOp.



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

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

Instance Attribute Details

#opsObject (readonly)

number of operators visible



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

def ops
  @ops
end