method
reload
v1_9_2_180 -
Show latest stable
- Class:
WEBrick::HTTPAuth::Htgroup
reload()public
No documentation available.
# File lib/webrick/httpauth/htgroup.rb, line 23
def reload
if (mtime = File::mtime(@path)) > @mtime
@group.clear
open(@path){|io|
while line = io.gets
line.chomp!
group, members = line.split(/:\s*/)
@group[group] = members.split(/\s+/)
end
}
@mtime = mtime
end
end