lib/progress.rb in progress-1.1.2.1 vs lib/progress.rb in progress-1.1.3
- old
+ new
@@ -138,14 +138,10 @@
def levels
@levels ||= []
end
def io
- unless @io
- @io = $stderr
- @io.sync = true
- end
- @io
+ @io || $stderr
end
def io_tty?
io.tty? || ENV['PROGRESS_TTY']
end