2008-02-12から1日間の記事一覧
Indexes設定では都合が悪かったので作成。 #!/usr/bin/ruby -Ku require 'find' require 'uri' def create_filelist_html(root) Find.find(root) do |path| if File.directory?(path) title = path.split('/')[-1] open("#{path}/index.html", "w") do |io| …
Indexes設定では都合が悪かったので作成。 #!/usr/bin/ruby -Ku require 'find' require 'uri' def create_filelist_html(root) Find.find(root) do |path| if File.directory?(path) title = path.split('/')[-1] open("#{path}/index.html", "w") do |io| …