class IO::TimeoutError
Overview
Raised when an IO
operation times out.
STDIN.read_timeout = 1
STDIN.gets # raises IO::TimeoutError (after 1 second)
Raised when an IO
operation times out.
STDIN.read_timeout = 1
STDIN.gets # raises IO::TimeoutError (after 1 second)
Object