summaryrefslogtreecommitdiff
path: root/lib/rdoc
diff options
context:
space:
mode:
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 3b3c5fa9d8..9afdf7b7bc 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