mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc r101.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0af4a490b4
commit
fd25f74d64
45 changed files with 6952 additions and 4397 deletions
|
@ -39,7 +39,7 @@ class RDoc::Options
|
|||
##
|
||||
# Pattern for additional attr_... style methods
|
||||
|
||||
attr_reader :extra_accessors
|
||||
attr_accessor :extra_accessors
|
||||
|
||||
##
|
||||
# Should we draw fileboxes in diagrams
|
||||
|
@ -61,6 +61,11 @@ class RDoc::Options
|
|||
|
||||
attr_accessor :generator
|
||||
|
||||
##
|
||||
# Formatter to mark up text with
|
||||
|
||||
attr_accessor :formatter
|
||||
|
||||
##
|
||||
# image format for diagrams
|
||||
|
||||
|
@ -95,7 +100,7 @@ class RDoc::Options
|
|||
##
|
||||
# The name to use for the output
|
||||
|
||||
attr_reader :op_name
|
||||
attr_accessor :op_name
|
||||
|
||||
##
|
||||
# Are we promiscuous about showing module contents across multiple files
|
||||
|
@ -105,7 +110,7 @@ class RDoc::Options
|
|||
##
|
||||
# Don't display progress as we process the files
|
||||
|
||||
attr_reader :quiet
|
||||
attr_accessor :quiet
|
||||
|
||||
##
|
||||
# Array of directories to search for files to satisfy an :include:
|
||||
|
@ -175,7 +180,6 @@ class RDoc::Options
|
|||
@extra_accessor_flags = {}
|
||||
@promiscuous = false
|
||||
@force_update = false
|
||||
@title = "RDoc Documentation"
|
||||
|
||||
@css = nil
|
||||
@webcvs = nil
|
||||
|
@ -513,6 +517,8 @@ Usage: #{opt.program_name} [options] [names...]
|
|||
end
|
||||
end
|
||||
|
||||
argv.insert(0, *ENV['RDOCOPT'].split) if ENV['RDOCOPT']
|
||||
|
||||
opts.parse! argv
|
||||
|
||||
@files = argv.dup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue