Commit b8db786a authored by Florian R. Hanke's avatar Florian R. Hanke

Append $/ if EOFError is triggered and buf is not empty.

parent ddaa0379
...@@ -104,7 +104,7 @@ module Pod ...@@ -104,7 +104,7 @@ module Pod
output << string << separator output << string << separator
end end
rescue EOFError rescue EOFError
output << buf unless buf.size == 0 output << buf << $/ unless buf.empty?
end end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment