Class: Jiminy::CLI::ExitCodes::ProcessTimeout
- Defined in:
- lib/jiminy/cli/exit_codes/process_timeout.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(start_time:) ⇒ ProcessTimeout
constructor
A new instance of ProcessTimeout.
Methods inherited from Base
Constructor Details
#initialize(start_time:) ⇒ ProcessTimeout
Returns a new instance of ProcessTimeout.
5 6 7 |
# File 'lib/jiminy/cli/exit_codes/process_timeout.rb', line 5 def initialize(start_time:) super("Process timed out after #{Time.now - start_time} seconds", 1) end |