Permalink
Browse files

restored @progress

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
ocean
ocean committed May 14, 2005
1 parent 96afcf2 commit afdbd6fc5264ad548370ade033daa8fa318ca8ab
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/rdoc/parsers/parse_c.rb
@@ -180,6 +180,7 @@ def initialize(top_level, file_name, body, options, stats)
@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 @@ def scan
def progress(char)
unless @options.quiet
- $stderr.print(char)
- $stderr.flush
+ @progress.print(char)
+ @progress.flush
end
end

0 comments on commit afdbd6f

Please sign in to comment.