lib/writers/file_writer.riml in speckle-0.1.10 vs lib/writers/file_writer.riml in speckle-0.1.11
- old
+ new
@@ -11,11 +11,11 @@
defm write(line)
self.current_line = "#{self.current_line}#{line}"
end
defm writeln(line)
- self.flush_line()
- add(self.lines, line)
+ add(self.lines, "#{self.current_line}#{line}")
+ self.current_line = ''
end
defm flush_line()
unless self.current_line == ''
add(self.lines, self.current_line)