Method: TChart::DataParser#parse

Defined in:
lib/tchart/process/data_parser.rb

#parseObject

> [ settings, items, errors ]



28
29
30
31
32
# File 'lib/tchart/process/data_parser.rb', line 28

def parse # => [ settings, items, errors ]
  non_blank_source_lines.each { |line| parse_line(line) }
  check_for_items if @errors.empty?
  [ @settings_parser.settings, @items_parser.items, @errors ]
end