mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
102501e034
commit
c72e6c7b86
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Sep 22 00:52:44 2010 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
|
||||
|
||||
Wed Sep 22 00:00:05 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/pathname/pathname.c (path_f_pathname): Pathname() translated
|
||||
|
|
|
@ -172,9 +172,11 @@ class RDoc::RI::Store
|
|||
|
||||
def save_cache
|
||||
# HACK mongrel-1.1.5 documents its files twice
|
||||
@cache[:ancestors]. each do |_, m| m.uniq!; m.sort! end
|
||||
@cache[:attributes]. each do |_, m| m.uniq!; m.sort! end
|
||||
@cache[:class_methods]. each do |_, m| m.uniq!; m.sort! end
|
||||
@cache[:instance_methods].each do |_, m| m.uniq!; m.sort! end
|
||||
@cache[:modules].uniq!; @cache[:modules].sort!
|
||||
|
||||
open cache_path, 'wb' do |io|
|
||||
Marshal.dump @cache, io
|
||||
|
|
Loading…
Add table
Reference in a new issue