class SSCBot::ChatLogFile
@author Jonathan Bradley Whited @since 0.1.0
Public Class Methods
new(filename,mode=DEFAULT_MODE,parser: ChatLog::MessageParser.new,**file_kargs)
click to toggle source
Calls superclass method
# File lib/ssc.bot/chat_log_file.rb, line 27 def initialize(filename,mode=DEFAULT_MODE,parser: ChatLog::MessageParser.new,**file_kargs) super(filename,mode,**file_kargs) @parser = parser end
Public Instance Methods
parse_line()
click to toggle source
# File lib/ssc.bot/chat_log_file.rb, line 33 def parse_line line = read_uline return line.nil? ? nil : parse(line) end