method

mount_proc

v1_9_3_125 - Show latest stable - Class: WEBrick::HTTPServer
mount_proc(dir, proc=nil, &block)
public

Mounts proc or block on dir and calls it with a WEBrick::HTTPRequest and WEBrick::HTTPResponse