Class: Mutant::Isolation::None Private

Inherits:
Mutant::Isolation show all
Defined in:
lib/mutant/isolation/none.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.

Absolutly no isolation

Only useful for debugging.

Instance Method Summary collapse

Instance Method Details

#callResult

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.

Call block in no isolation

ignore :reek:UtilityFunction

Returns:



16
17
18
19
20
# File 'lib/mutant/isolation/none.rb', line 16

def call
  Result::Success.new(yield)
rescue => exception
  Result::Exception.new(exception)
end