method
new
new(path)
public
Hide source
# 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