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.

Constant Summary

Constants inherited from Mutant::Isolation

Error

Instance Method Summary collapse

Instance Method Details

#callObject

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

Returns:

  • (Object)

Raises:

  • (Error)

    if block terminates abnormal



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

def call
  yield
rescue => exception
  raise Error, exception
end