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:
parent
1267156698
commit
b5417ef56d
2 changed files with 8 additions and 3 deletions
|
@ -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>
|
||||
|
||||
* string.c (rb_str_append): performance improvement.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue