Method: MCLib::LogParser#parse

Defined in:
lib/mclib/log_parser.rb

#parse(line) ⇒ Object



11
12
13
14
15
# File 'lib/mclib/log_parser.rb', line 11

def parse(line)
  , message = split_data line
  type = type? 
  @factory.build message, , type
end