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
17 18 19 20 21 |
# File 'lib/mutant/isolation.rb', line 17 def self.call(&block) block.call rescue => exception fail Error, exception end |