method
new
v1_9_2_180 -
Show latest stable
- Class:
WEBrick::HTTPAuth::Htpasswd
new(path)public
No documentation available.
# File lib/webrick/httpauth/htpasswd.rb, line 19
def initialize(path)
@path = path
@mtime = Time.at(0)
@passwd = Hash.new
@auth_type = BasicAuth
open(@path,"a").close unless File::exist?(@path)
reload
end