Method: LogParser::Message#log_lines

Defined in:
lib/log_parser/message.rb,
lib/log_parser/message.rb
more...

#log_linesHash<Symbol, Int>?

A hash with keys ‘:from` and `:to` mapping to the first and last line index in the log file that this message covers. `nil` if they could not be determined.

Returns:

  • (Hash<Symbol, Int>, nil)

    the current value of log_lines

[View source]

26
27
28
# File 'lib/log_parser/message.rb', line 26

def log_lines
  @log_lines
end