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)


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

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.

Return sink status

Returns:

  • (Object)


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

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)


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

abstract_method :stop?