Module: Mutant::Isolation::None Private
- Defined in:
- lib/mutant/isolation.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
-
.call(&block) ⇒ Object
private
Call block in isolation.
Class Method Details
.call(&block) ⇒ Object
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 isolation
14 15 16 17 18 |
# File 'lib/mutant/isolation.rb', line 14 def self.call(&block) block.call rescue => exception raise Error, exception end |