new(path)
public
Open a password database at path
# File lib/webrick/httpauth/htpasswd.rb, line 38
def initialize(path)
@path = path
@mtime = Time.at(0)
@passwd = Hash.new
@auth_type = BasicAuth
File.open(@path,"a").close unless File.exist?(@path)
reload
end