Class: ModSpox::Messages::Incoming::Names
- Defined in:
- lib/mod_spox/messages/incoming/Names.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel names are from.
-
#nicks ⇒ Object
readonly
nicks in the channel.
-
#ops ⇒ Object
readonly
ops in the channel.
-
#voiced ⇒ Object
readonly
voiced nicks in channel.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, channel, nicks, ops, voiced) ⇒ Names
constructor
A new instance of Names.
Constructor Details
#initialize(raw, channel, nicks, ops, voiced) ⇒ Names
Returns a new instance of Names.
14 15 16 17 18 19 20 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 14 def initialize(raw, channel, nicks, ops, voiced) super(raw) @channel = channel @nicks = nicks @ops = ops @voiced = voiced end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel names are from
7 8 9 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 7 def channel @channel end |
#nicks ⇒ Object (readonly)
nicks in the channel
9 10 11 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 9 def nicks @nicks end |
#ops ⇒ Object (readonly)
ops in the channel
11 12 13 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 11 def ops @ops end |
#voiced ⇒ Object (readonly)
voiced nicks in channel
13 14 15 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 13 def voiced @voiced end |