diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-11 09:18:53 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-11 09:18:53 +0000 |
commit | b5417ef56d8706cd340f7c6c97a73dfbae3b3833 (patch) | |
tree | a9374a19071f0e5663fd222281a2fc4ec5ba80f0 /lib/rdoc | |
parent | 1267156698d08d9467ea2daadd1b7810b97e59c5 (diff) |
Follow namespace change for RDoc/RI [ruby-core:14964]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/driver.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 98e8a3dc2e..a1aa64e598 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -54,8 +54,8 @@ Where name can be: All class names may be abbreviated to their minimum unambiguous form. If a name is ambiguous, all valid options will be listed. -The form '.' method matches either class or instance methods, while -#method matches only instance and ::method matches only class methods. +The form '.' method matches either class or instance methods, while #method +matches only instance and ::method matches only class methods. For example: @@ -341,7 +341,7 @@ Options may also be set in the 'RI' environment variable. end def read_yaml(path) - YAML.load File.read(path).gsub(/ \!ruby\/(object|struct):RI.*/, '') + YAML.load File.read(path).gsub(/ \!ruby\/(object|struct):(RDoc|RI).*/, '') end def run |