1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

restored @progress

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-05-14 02:23:45 +00:00
parent 2c716f2b47
commit 2cf330ad77

View file

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