summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-08 00:54:21 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-08 00:54:21 +0000
commit2293912b7b10713507c28263556ef4c9808e02ba (patch)
treef4e40a8398aea6554c3ddd95437f808f3b5b4382 /lib
parent99a739c55f90ddf3526bc75bd4337f44d4f1b6f5 (diff)
downloadruby-2293912b7b10713507c28263556ef4c9808e02ba.tar.gz
ruby-2293912b7b10713507c28263556ef4c9808e02ba.tar.xz
ruby-2293912b7b10713507c28263556ef4c9808e02ba.zip
* lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/ri/driver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb
index 67817b180..02271de3d 100644
--- a/lib/rdoc/ri/driver.rb
+++ b/lib/rdoc/ri/driver.rb
@@ -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