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.
13 14 15 16 17 18 19 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 13 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
6 7 8 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 6 def channel @channel end |
#nicks ⇒ Object (readonly)
nicks in the channel
8 9 10 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 8 def nicks @nicks end |
#ops ⇒ Object (readonly)
ops in the channel
10 11 12 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 10 def ops @ops end |
#voiced ⇒ Object (readonly)
voiced nicks in channel
12 13 14 |
# File 'lib/mod_spox/messages/incoming/Names.rb', line 12 def voiced @voiced end |