method
new
v1_9_1_378 -
Show latest stable
- Class:
WEBrick::HTTPAuth::Htdigest
new(path)public
No documentation available.
# 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