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/branches/ruby_1_8@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
96afcf2b07
commit
afdbd6fc52
1 changed files with 3 additions and 2 deletions
|
@ -180,6 +180,7 @@ module RDoc
|
||||||
@top_level = top_level
|
@top_level = top_level
|
||||||
@classes = Hash.new
|
@classes = Hash.new
|
||||||
@file_dir = File.dirname(file_name)
|
@file_dir = File.dirname(file_name)
|
||||||
|
@progress = $stderr unless options.quiet
|
||||||
end
|
end
|
||||||
|
|
||||||
# Extract the classes/modules and methods from a C file
|
# Extract the classes/modules and methods from a C file
|
||||||
|
@ -200,8 +201,8 @@ module RDoc
|
||||||
|
|
||||||
def progress(char)
|
def progress(char)
|
||||||
unless @options.quiet
|
unless @options.quiet
|
||||||
$stderr.print(char)
|
@progress.print(char)
|
||||||
$stderr.flush
|
@progress.flush
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue