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