Top Level Namespace
Defined Under Namespace
Modules: FakeExecution
Instance Method Summary collapse
Instance Method Details
#FakeExecution ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/fake_execution/base.rb', line 34 def FakeExecution return ::FakeExecution unless block_given? ::FakeExecution.activate! yield ensure ::FakeExecution.deactivate! end |