Class: Mutant::Timer::Deadline::Status Private
- Inherits:
-
Object
- Object
- Mutant::Timer::Deadline::Status
- Defined in:
- lib/mutant/timer.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Deadline status snapshot
Instance Method Summary collapse
-
#ok? ⇒ Boolean
private
Test if deadline is not yet expired.
Instance Method Details
#ok? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if deadline is not yet expired
34 35 36 |
# File 'lib/mutant/timer.rb', line 34 def ok? time_left.nil? || time_left.positive? end |