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

* lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-02-08 00:54:21 +00:00
parent 2bef7dece1
commit baa1468895
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Feb 8 09:27:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
* lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
Fri Feb 08 00:07:24 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_hash.rb: follow the change of Hash#flatten.

View file

@ -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):(RDoc::RI|RI).*/, '')
YAML.load File.read(path).gsub(/ \!ruby\/(object|struct):(RDoc::RI|RI|SM).*/, '')
end
def run