diff options
Diffstat (limited to 'lib/rdoc/stats')
-rw-r--r-- | lib/rdoc/stats/normal.rb | 4 | ||||
-rw-r--r-- | lib/rdoc/stats/quiet.rb | 2 | ||||
-rw-r--r-- | lib/rdoc/stats/verbose.rb | 2 |
3 files changed, 4 insertions, 4 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 diff --git a/lib/rdoc/stats/quiet.rb b/lib/rdoc/stats/quiet.rb index 561c272ef7..bc4161b2d4 100644 --- a/lib/rdoc/stats/quiet.rb +++ b/lib/rdoc/stats/quiet.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Stats printer that prints nothing diff --git a/lib/rdoc/stats/verbose.rb b/lib/rdoc/stats/verbose.rb index e04edade52..6ace8937a2 100644 --- a/lib/rdoc/stats/verbose.rb +++ b/lib/rdoc/stats/verbose.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Stats printer that prints everything documented, including the documented # status |