timeout(seconds, exception=Timeout::Error)
Class Public methods
Executes the passed block and raises exception
if execution
takes more than seconds
.
If seconds
is zero or nil, simply executes the block
Executes the passed block and raises exception
if execution
takes more than seconds
.
If seconds
is zero or nil, simply executes the block
Please login to continue.