Module: Mutant::Isolation::None
- Defined in:
- lib/mutant/isolation.rb
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
16 17 18 19 20 |
# File 'lib/mutant/isolation.rb', line 16 def self.call(&block) block.call rescue => exception raise Error, exception end |