Class: Mutant::Timer::Deadline::Status Private

Inherits:
Object
  • Object
show all
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

API:

  • private

Instance Method Summary collapse

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

Returns:

API:

  • private



43
44
45
# File 'lib/mutant/timer.rb', line 43

def ok?
  time_left.nil? || time_left.positive?
end