Class: ModSpox::Messages::Incoming::LuserOp
- Defined in:
- lib/mod_spox/messages/incoming/LuserOp.rb
Instance Attribute Summary collapse
-
#ops ⇒ Object
readonly
number of operators visible.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, num) ⇒ LuserOp
constructor
A new instance of LuserOp.
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
#ops ⇒ Object (readonly)
number of operators visible
7 8 9 |
# File 'lib/mod_spox/messages/incoming/LuserOp.rb', line 7 def ops @ops end |