Class: Mutant::Runner::Sink

Inherits:
Object
  • Object
show all
Includes:
AbstractType
Defined in:
lib/mutant/runner/sink.rb

Overview

Abstract base class for computation sinks

Direct Known Subclasses

Mutation

Defined Under Namespace

Classes: Mutation

Instance Method Summary collapse

Instance Method Details

#resultself

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.

Consume result

Parameters:

  • result (Object)

Returns:

  • (self)


28
# File 'lib/mutant/runner/sink.rb', line 28

abstract_method :result

#statusObject

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.

sink status

Returns:

  • (Object)


12
# File 'lib/mutant/runner/sink.rb', line 12

abstract_method :status

#stop?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 computation should be stopped

Returns:

  • (Boolean)


19
# File 'lib/mutant/runner/sink.rb', line 19

abstract_method :stop?