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.
12 13 14 15 16 |
# File 'lib/mod_spox/messages/incoming/Topic.rb', line 12 def initialize(raw, channel, topic) super(raw) @channel = @channel @topic = @topic end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel topic was set
8 9 10 |
# File 'lib/mod_spox/messages/incoming/Topic.rb', line 8 def channel @channel end |
#topic ⇒ Object (readonly)
topic messages
10 11 12 |
# File 'lib/mod_spox/messages/incoming/Topic.rb', line 10 def topic @topic end |