method
new
new(server, root, options={}, default=Config::FileHandler)
public
Hide source
# File lib/webrick/httpservlet/filehandler.rb, line 139 def initialize(server, root, options={}, default=Config::FileHandler) @config = server.config @logger = @config[:Logger] @root = File.expand_path(root) if options == true || options == false options = { :FancyIndexing => options } end @options = default.dup.update(options) end