Module: Mutant::Result

Included in:
Env, Mutation, Subject, Test
Defined in:
lib/mutant/result.rb

Overview

Namespace and mixon module for results

Defined Under Namespace

Modules: ClassMethods, Coverage Classes: Env, Mutation, Subject, Test

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(host) ⇒ undefined

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.

Hook called when module gets included



77
78
79
80
81
82
# File 'lib/mutant/result.rb', line 77

def self.included(host)
  host.class_eval do
    include Adamantium, Anima::Update
    extend ClassMethods
  end
end

Instance Method Details

#overheadFloat

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 overhead



65
66
67
# File 'lib/mutant/result.rb', line 65

def overhead
  runtime - killtime
end