class Object

Constants

Pry
RealDir
RealFile
RealFileTest
RealFileUtils
RealIO
RealPathname

Public Instance Methods

FakeFS(&block) click to toggle source
# File lib/fakefs/base.rb, line 116
def FakeFS(&block)
  return ::FakeFS unless block
  ::FakeFS.with(&block)
end
Pathname(*args) click to toggle source
# File lib/fakefs/base.rb, line 12
def Pathname(*args)
  Pathname.new(*args)
end
RealPathname(*args) click to toggle source
# File lib/fakefs/base.rb, line 8
def RealPathname(*args)
  RealPathname.new(*args)
end