diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-14 02:23:45 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-14 02:23:45 +0000 |
commit | afdbd6fc5264ad548370ade033daa8fa318ca8ab (patch) | |
tree | 059f2a7bf0e8864fab51386d7f967daa85cc22ee | |
parent | 96afcf2b075e3190405fac7f3f171dfe502f8afb (diff) |
restored @progress
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/rdoc/parsers/parse_c.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rdoc/parsers/parse_c.rb b/lib/rdoc/parsers/parse_c.rb index 3df0a0ae0e..37c2069311 100644 --- a/lib/rdoc/parsers/parse_c.rb +++ b/lib/rdoc/parsers/parse_c.rb @@ -180,6 +180,7 @@ module RDoc @top_level = top_level @classes = Hash.new @file_dir = File.dirname(file_name) + @progress = $stderr unless options.quiet end # Extract the classes/modules and methods from a C file @@ -200,8 +201,8 @@ module RDoc def progress(char) unless @options.quiet - $stderr.print(char) - $stderr.flush + @progress.print(char) + @progress.flush end end |