# File lib/rack/directory.rb, line 134 134: def each 135: show_path = @path.sub(/^#{@root}/,'') 136: files = @files.map{|f| DIR_FILE % f }*"\n" 137: page = DIR_PAGE % [ show_path, show_path , files ] 138: page.each_line{|l| yield l } 139: end