class TexLogParser::RunawayParameterError
Matches messages of this form:
Runaway argument? {Test. Also, it contains some \ref {warnings} and \ref {errors} for t\ETC.
Public Class Methods
new()
click to toggle source
Creates a new instance.
Calls superclass method
LogParser::RegExpPattern::new
# File lib/tex_log_parser/patterns/runaway_parameter_error.rb, line 12 def initialize super(/^Runaway argument\?/, { pattern: ->(_) { /./ }, until: :match, inclusive: true } ) end
Public Instance Methods
read(lines)
click to toggle source
(see LogParser::RegExpPattern#read
)
Calls superclass method
LogParser::RegExpPattern#read
# File lib/tex_log_parser/patterns/runaway_parameter_error.rb, line 19 def read(lines) # @type [Message] msg msg, consumed = super(lines) msg.level = :error [msg, consumed] end