Class: Mutant::Isolation::None Private
- Inherits:
-
Mutant::Isolation
- Object
- Mutant::Isolation
- Mutant::Isolation::None
- 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
-
#call ⇒ Result
private
Call block in no isolation.
Instance Method Details
#call ⇒ Result
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
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 |