# File daybook/mycgi/daybook/base/daybook_mod.rb, line 117 def m_common_count_xmlfiles(path_log_xml) r = read_file(path_log_xml) unless r =~ /..*/ return [] end ary = Array.new r.each{ |x| xf = x.split(",")[1].chop if FileTest.exist?(xf) ary << xf end } new_list = Hash.new cnt = 0 ary.each{|x| new_list[x] = cnt; cnt += 1} pathlist = new_list.keys return pathlist.sort.reverse end