Top Level Namespace

Defined Under Namespace

Modules: FakeFS

Constant Summary collapse

RealFile =
File
RealFileTest =
FileTest
RealFileUtils =
FileUtils
RealDir =
Dir

Instance Method Summary collapse

Instance Method Details

#FakeFSObject



38
39
40
41
42
43
44
# File 'lib/fakefs/base.rb', line 38

def FakeFS
  return ::FakeFS unless block_given?
  ::FakeFS.activate!
  yield
ensure
::FakeFS.deactivate!
end