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:
parent
2c716f2b47
commit
2cf330ad77
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue