aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/stats.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/stats.rb')
-rw-r--r--lib/rdoc/stats.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/stats.rb b/lib/rdoc/stats.rb
index 8f51cbedcc..82e0afdf5d 100644
--- a/lib/rdoc/stats.rb
+++ b/lib/rdoc/stats.rb
@@ -190,10 +190,10 @@ class RDoc::Stats
line << (" " * padding) if padding > 0
$stdout.print("#{line}\r")
- $stdout.flush
else
- puts "#{progress_bar} #{filename}"
+ $stdout.puts "#{progress_bar} #{filename}"
end
+ $stdout.flush
end
def done_adding # :nodoc: