Class: Mutant::Timer::Deadline::None Private

Inherits:
Mutant::Timer::Deadline 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 that never expires

Instance Method Summary collapse

Methods inherited from Mutant::Timer::Deadline

#initialize, #status

Constructor Details

This class inherits a constructor from Mutant::Timer::Deadline

Instance Method Details

#expired?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.

Returns:

  • (Boolean)


71
72
73
# File 'lib/mutant/timer.rb', line 71

def expired?
  false
end

#time_leftFloat?

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.

The time left

Returns:

  • (Float, nil)


69
# File 'lib/mutant/timer.rb', line 69

def time_left; end