method

timeout

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: WEBrick::Utils
timeout(seconds, exception=Timeout::Error) private

Executes the passed block and raises exception if execution takes more than seconds.

If seconds is zero or nil, simply executes the block

Show source
Register or log in to add new notes.