summaryrefslogtreecommitdiff
path: root/lib/rdoc/stats/normal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/stats/normal.rb')
-rw-r--r--lib/rdoc/stats/normal.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/stats/normal.rb b/lib/rdoc/stats/normal.rb
index 9f7ca59c34..a3a6ff377e 100644
--- a/lib/rdoc/stats/normal.rb
+++ b/lib/rdoc/stats/normal.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
begin
require 'io/console/size'
rescue LoadError
@@ -42,7 +42,7 @@ class RDoc::Stats::Normal < RDoc::Stats::Quiet
if $stdout.tty?
# Clean the line with whitespaces so that leftover output from the
# previous line doesn't show up.
- $stdout.print("\r" << (" " * @last_width) << ("\b" * @last_width) << "\r") if @last_width && @last_width > 0
+ $stdout.print("\r" + (" " * @last_width) + ("\b" * @last_width) + "\r") if @last_width && @last_width > 0
@last_width = line.size
$stdout.print("#{line}\r")
else