Exception: Ruber::Rake::Plugin::Timeout
Overview
Exception raised if rake doesn’t exit after a given amount of time
Instance Attribute Summary (collapse)
-
- (Integer) time
readonly
The number of seconds waited before raising the exception.
Instance Method Summary (collapse)
-
- (Timeout) initialize(seconds)
constructor
A new instance of Timeout.
Constructor Details
- (Timeout) initialize(seconds)
A new instance of Timeout
113 114 115 116 |
# File 'plugins/rake/rake.rb', line 113 def initialize seconds super "Rake failed to finish within the allowed time (#{seconds} seconds)" @time = seconds end |
Instance Attribute Details
- (Integer) time (readonly)
The number of seconds waited before raising the exception
108 109 110 |
# File 'plugins/rake/rake.rb', line 108 def time @time end |