Method: TexLogParser#initialize

Defined in:
lib/tex_log_parser.rb

#initialize(log) ⇒ Object

Creates a new instance.

This parser will read lines one by one from the given ‘log`. If it is an `IO` or `StringIO`, only those lines currently under investigation will be kept in memory.

Parameters:

  • log (Array<String>, IO, StringIO)

    A set of log lines that will be parsed.

[View source]

20
21
22
23
24
25
26
# File 'lib/tex_log_parser.rb', line 20

def initialize(log)
  super(log)

  # BROKEN_BY_LINEBREAKS
  # I'd prefer to have this stateless, but well (see below).
  @pushed_dummy = false
end