Class: SSCBot::ChatLog::QLogMessage
- Defined in:
- lib/ssc.bot/chat_log/messages.rb
Overview
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
- #filename ⇒ Object readonly
-
#log_type ⇒ Object
readonly
[:open,:close].
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(line, log_type:, filename: nil) ⇒ QLogMessage
constructor
A new instance of QLogMessage.
Methods inherited from Message
Constructor Details
#initialize(line, log_type:, filename: nil) ⇒ QLogMessage
Returns a new instance of QLogMessage.
133 134 135 136 137 138 |
# File 'lib/ssc.bot/chat_log/messages.rb', line 133 def initialize(line,log_type:,filename: nil) super(line,type: %s(?log)) @filename = filename @log_type = log_type end |
Instance Attribute Details
#filename ⇒ Object (readonly)
130 131 132 |
# File 'lib/ssc.bot/chat_log/messages.rb', line 130 def filename @filename end |
#log_type ⇒ Object (readonly)
- :open,:close
131 132 133 |
# File 'lib/ssc.bot/chat_log/messages.rb', line 131 def log_type @log_type end |