This is the API documentation for timeout: Ruby Standard Library Documentation.
CObject
MTimeout
CTimeout::Error
::timeout (Timeout)