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

Constant Summary collapse

STATUS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Status.new(nil)

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)


64
65
66
# File 'lib/mutant/timer.rb', line 64

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)


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

def time_left; end