Class: ModSpox::Messages::Incoming::LuserChannels
- Defined in:
- lib/mod_spox/messages/incoming/LuserChannels.rb
Instance Attribute Summary collapse
-
#channels ⇒ Object
readonly
number of channels.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, num) ⇒ LuserChannels
constructor
A new instance of LuserChannels.
Constructor Details
#initialize(raw, num) ⇒ LuserChannels
Returns a new instance of LuserChannels.
8 9 10 11 |
# File 'lib/mod_spox/messages/incoming/LuserChannels.rb', line 8 def initialize(raw, num) super(raw) @channels = num end |
Instance Attribute Details
#channels ⇒ Object (readonly)
number of channels
7 8 9 |
# File 'lib/mod_spox/messages/incoming/LuserChannels.rb', line 7 def channels @channels end |