Class: Mutant::Parallel::Source Private

Inherits:
Object
  • Object
show all
Includes:
Unparser::AbstractType
Defined in:
lib/mutant/parallel/source.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.

Job source for parallel execution

Defined Under Namespace

Classes: Array, Job

Constant Summary collapse

NoJobError =

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.

Class.new(RuntimeError)

Instance Method Summary collapse

Instance Method Details

#nextObject

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.

Next job

Returns:

  • (Object)

Raises:



21
# File 'lib/mutant/parallel/source.rb', line 21

abstract_method :next

#next?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 next job is available

Returns:

  • (Boolean)


26
# File 'lib/mutant/parallel/source.rb', line 26

abstract_method :next?