lib/peddler/flat_file_parser.rb in peddler-2.4.4 vs lib/peddler/flat_file_parser.rb in peddler-2.4.5
- old
+ new
@@ -48,9 +48,9 @@
@summary, @content = @content.split("\n\n", 2)
end
def summarize
- Hash[summary.split("\n\t")[1, 2].map { |line| line.split("\t\t") }]
+ summary.split("\n\t")[1, 2].map { |line| line.split("\t\t") }.to_h
end
end
end