ruby-changes:3515
From: ko1@a...
Date: Sun, 13 Jan 2008 15:36:49 +0900 (JST)
Subject: [ruby-changes:3515] drbrain - Ruby:r14993 (trunk): Follow namespace change for RDoc/RI
drbrain 2008-01-11 18:18:53 +0900 (Fri, 11 Jan 2008)
New Revision: 14993
Modified files:
trunk/ChangeLog
trunk/lib/rdoc/ri/driver.rb
Log:
Follow namespace change for RDoc/RI [ruby-core:14964]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rdoc/ri/driver.rb?r1=14993&r2=14992&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14993&r2=14992&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 14992)
+++ ChangeLog (revision 14993)
@@ -1,3 +1,8 @@
+Fri Jan 11 18:17:10 2008 Eric Hodel <drbrain@s...>
+
+ * lib/rdoc/ri/driver.rb (read_yaml): Follow namespace change
+ [ruby-core:14964].
+
Fri Jan 11 16:55:21 2008 Nobuyoshi Nakada <nobu@r...>
* string.c (rb_str_append): performance improvement.
Index: lib/rdoc/ri/driver.rb
===================================================================
--- lib/rdoc/ri/driver.rb (revision 14992)
+++ lib/rdoc/ri/driver.rb (revision 14993)
@@ -54,8 +54,8 @@
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 @@
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
--
ML: ruby-changes@q...
Info: