1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
drbrain 2008-01-11 09:18:53 +00:00
parent 1267156698
commit b5417ef56d
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Fri Jan 11 18:17:10 2008 Eric Hodel <drbrain@segment7.net>
* lib/rdoc/ri/driver.rb (read_yaml): Follow namespace change
[ruby-core:14964].
Fri Jan 11 16:55:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Jan 11 16:55:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_append): performance improvement. * string.c (rb_str_append): performance improvement.

View file

@ -54,8 +54,8 @@ Where name can be:
All class names may be abbreviated to their minimum unambiguous form. If a name All class names may be abbreviated to their minimum unambiguous form. If a name
is ambiguous, all valid options will be listed. is ambiguous, all valid options will be listed.
The form '.' method matches either class or instance methods, while The form '.' method matches either class or instance methods, while #method
#method matches only instance and ::method matches only class methods. matches only instance and ::method matches only class methods.
For example: For example:
@ -341,7 +341,7 @@ Options may also be set in the 'RI' environment variable.
end end
def read_yaml(path) 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 end
def run def run