mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/parser/ruby.rb (RDoc#make_message): no empty lines.
* lib/rdoc/stats.rb (RDoc::Normal#print_file): send to stdout and flush always git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e654e593a5
commit
eb86567b69
3 changed files with 10 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue