Method: LogParser::Message#source_lines

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

#source_linesHash<Symbol, Int>?

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

Returns:

  • (Hash<Symbol, Int>, nil)

    the current value of source_lines

[View source]

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

def source_lines
  @source_lines
end