summaryrefslogtreecommitdiffstats
path: root/lib/rdoc
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-30 05:33:49 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-30 05:33:49 +0000
commit332d3973a740b5ec805e2a5c1d771ca598c07228 (patch)
tree1a1a239d4c542a29d23ef212480892b3baa10fd9 /lib/rdoc
parent15e9979653c6394e04724176342cb81a2de3806e (diff)
downloadruby-332d3973a740b5ec805e2a5c1d771ca598c07228.tar.gz
ruby-332d3973a740b5ec805e2a5c1d771ca598c07228.tar.xz
ruby-332d3973a740b5ec805e2a5c1d771ca598c07228.zip
* lib/rdoc/ri/driver.rb (cache_file_for): shoudn't use `:' in filename.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-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 3b3c5fa9d..9afdf7b7b 100644
--- a/lib/rdoc/ri/driver.rb
+++ b/lib/rdoc/ri/driver.rb
@@ -249,7 +249,7 @@ Options may also be set in the 'RI' environment variable.
end
def cache_file_for(klassname)
- File.join cache_file_path, klassname
+ File.join cache_file_path, klassname.gsub(/:+/, "-")
end
def cache_file_path