lib/tracksperanto/buffer_io.rb in tracksperanto-2.1.0 vs lib/tracksperanto/buffer_io.rb in tracksperanto-2.1.1
- old
+ new
@@ -12,15 +12,12 @@
end
def write(s)
returning(super) { replace_with_tempfile_if_needed }
end
+ alias_method :<<, :write
def puts(s)
- returning(super) { replace_with_tempfile_if_needed }
- end
-
- def <<(s)
returning(super) { replace_with_tempfile_if_needed }
end
def putc(c)
returning(super) { replace_with_tempfile_if_needed }
\ No newline at end of file