Class: Sie::Parser::LineParser

Inherits:
Object
  • Object
show all
Defined in:
lib/sie/parser/line_parser.rb

Instance Method Summary collapse

Instance Method Details

#parseObject



11
12
13
14
15
# File 'lib/sie/parser/line_parser.rb', line 11

def parse
  tokens = tokenize(line)
  first_token = tokens.shift
  build_entry(first_token, tokens)
end