new(path)
public
Open a digest password database at path
# File lib/webrick/httpauth/htdigest.rb, line 37
def initialize(path)
@path = path
@mtime = Time.at(0)
@digest = Hash.new
@mutex = Thread::Mutex::new
@auth_type = DigestAuth
File.open(@path,"a").close unless File.exist?(@path)
reload
end