1
0

Use readlines interface in shipment reader

This commit is contained in:
Tim Kächele 2024-08-25 10:05:17 +02:00
parent 74fc3284bf
commit 9c54ba52f6

View File

@ -17,7 +17,7 @@ module PlanetExpressExpress
current_month = 0
current_year = 0
io.lines.each do |line|
io.each_line do |line|
shipment = parse(line)
if shipment[:date].year != current_year || shipment[:date].month != current_month