class LogLineParser::LogLineNodeStack

Public Instance Methods

to_a() click to toggle source
# File lib/log_line_parser.rb, line 65
def to_a
  root.subnodes.map {|node| node.to_s }
end
to_hash(parser=CombinedLogParser) click to toggle source
# File lib/log_line_parser.rb, line 69
def to_hash(parser=CombinedLogParser)
  parser.to_hash(to_a)
end
to_record(parser=CombinedLogParser) click to toggle source
# File lib/log_line_parser.rb, line 73
def to_record(parser=CombinedLogParser)
  parser.create(to_a)
end