Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (27 sloc) 0.488 kb
class Parser
def initialize(collection)
@collection = collection
end
def parse_all_lines(input)
while true do
begin
line = input.readline
rescue
break
end
if line.nil?
break
end
event = parse_line(line)
unless event.nil?
@collection.add_event(event)
end
end
end
def parse(input)
end
def parse_line(line)
end
def parse_node(node)
end
end
Jump to Line
Something went wrong with that request. Please try again.