mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clean up namespacing of RI's classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
929faf7906
commit
3e39ade457
20 changed files with 1362 additions and 1402 deletions
|
@ -1,7 +1,7 @@
|
|||
# We handle the parsing of options, and subsequently as a singleton
|
||||
# object to be queried for option values
|
||||
|
||||
require "rdoc/ri/ri_paths"
|
||||
require "rdoc/ri/paths"
|
||||
require 'optparse'
|
||||
|
||||
class RDoc::Options
|
||||
|
@ -423,7 +423,7 @@ Usage: #{opt.program_name} [options] [names...]
|
|||
"subsequent --op parameter, so no special",
|
||||
"privileges are needed.") do |value|
|
||||
@generator_name = "ri"
|
||||
@op_dir = RI::Paths::HOMEDIR
|
||||
@op_dir = RDoc::RI::Paths::HOMEDIR
|
||||
setup_generator
|
||||
end
|
||||
|
||||
|
@ -435,7 +435,7 @@ Usage: #{opt.program_name} [options] [names...]
|
|||
"making them accessible to others, so",
|
||||
"special privileges are needed.") do |value|
|
||||
@generator_name = "ri"
|
||||
@op_dir = RI::Paths::SITEDIR
|
||||
@op_dir = RDoc::RI::Paths::SITEDIR
|
||||
setup_generator
|
||||
end
|
||||
|
||||
|
@ -449,7 +449,7 @@ Usage: #{opt.program_name} [options] [names...]
|
|||
"option is intended to be used during Ruby",
|
||||
"installation.") do |value|
|
||||
@generator_name = "ri"
|
||||
@op_dir = RI::Paths::SYSDIR
|
||||
@op_dir = RDoc::RI::Paths::SYSDIR
|
||||
setup_generator
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue