Top Level Namespace
Defined Under Namespace
Modules: FakeFS
Constant Summary collapse
- RealFile =
File
- RealFileTest =
FileTest
- RealFileUtils =
FileUtils
- RealDir =
Dir
- RealIO =
IO
- RealPathname =
Pathname
Instance Method Summary collapse
Instance Method Details
#FakeFS(&block) ⇒ Object
116 117 118 119 |
# File 'lib/fakefs/base.rb', line 116 def FakeFS(&block) return ::FakeFS unless block ::FakeFS.with(&block) end |
#Pathname(*args) ⇒ Object
12 13 14 |
# File 'lib/fakefs/base.rb', line 12 def Pathname(*args) Pathname.new(*args) end |
#RealPathname(*args) ⇒ Object
8 9 10 |
# File 'lib/fakefs/base.rb', line 8 def RealPathname(*args) RealPathname.new(*args) end |