1
0
Fork 0
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:
nobu 2010-04-02 16:50:14 +00:00
parent e654e593a5
commit eb86567b69
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Sat Apr 3 01:50:02 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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
Sat Apr 3 00:03:11 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rdoc/class_module.rb (RDoc#merge): get rid of stack overflow.

View file

@ -417,7 +417,7 @@ class RDoc::Parser::Ruby < RDoc::Parser
# Adds useful info about the parser to +message+
def make_message message
prefix = "\n#{@file_name}:"
prefix = "#{@file_name}:"
prefix << "#{@scanner.line_no}:#{@scanner.char_no}:" if @scanner

View file

@ -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: