Source: show | on GitHub
# File lib/fakefs/base.rb, line 38 def FakeFS return ::FakeFS unless block_given? ::FakeFS.activate! yield ensure ::FakeFS.deactivate! end