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