lib/logging/appenders/string_io.rb in logging-1.7.2 vs lib/logging/appenders/string_io.rb in logging-1.8.0

- old
+ new

@@ -58,10 +58,10 @@ } end alias :reset :clear %w[read readline readlines].each do|m| - class_eval <<-CODE + class_eval <<-CODE, __FILE__, __LINE__+1 def #{m}( *args ) sync { begin @sio.seek @pos rv = @sio.#{m}(*args)