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