dynarex 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +2 -1
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -434,7 +434,8 @@ EOF
|
|
434
434
|
|
435
435
|
@summary = {}
|
436
436
|
|
437
|
-
while raw_lines.
|
437
|
+
while not raw_lines.empty? and \
|
438
|
+
raw_lines.first[/#{a_summary.join('|')}:\s+[\w\*\-\+]+/] do
|
438
439
|
label, val = raw_lines.shift.match(/(\w+):\s+([^$]+)$/).captures
|
439
440
|
@summary[label] = val
|
440
441
|
end
|