From 4a1491bf005b6314b3a99811bb8c717bc43b837a Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 11 Jan 2008 09:18:53 +0000 Subject: Follow namespace change for RDoc/RI [ruby-core:14964] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ri/driver.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 98e8a3dc2..a1aa64e59 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 -- cgit