method

set_passwd

ruby latest stable - Class: WEBrick::HTTPAuth::UserDB
set_passwd(realm, user, pass)
public

Sets a password in realm with user and password for the auth_type of this database.