Spacing + alignment
This commit is contained in:
parent
50193f2a75
commit
71dd1050f4
@ -1,8 +1,8 @@
|
||||
RealFile = File
|
||||
RealFileTest = FileTest
|
||||
RealFileUtils = FileUtils
|
||||
RealDir = Dir
|
||||
RealFileUtils::Dir = RealDir
|
||||
RealFile = File
|
||||
RealFileTest = FileTest
|
||||
RealFileUtils = FileUtils
|
||||
RealDir = Dir
|
||||
RealFileUtils::Dir = RealDir
|
||||
RealFileUtils::File = RealFile
|
||||
|
||||
module FakeFS
|
||||
@ -12,8 +12,9 @@ module FakeFS
|
||||
remove_const(:File)
|
||||
remove_const(:FileTest)
|
||||
remove_const(:FileUtils)
|
||||
const_set(:Dir, FakeFS::Dir)
|
||||
const_set(:File, FakeFS::File)
|
||||
|
||||
const_set(:Dir, FakeFS::Dir)
|
||||
const_set(:File, FakeFS::File)
|
||||
const_set(:FileUtils, FakeFS::FileUtils)
|
||||
const_set(:FileTest, FakeFS::FileTest)
|
||||
end
|
||||
@ -25,9 +26,10 @@ module FakeFS
|
||||
remove_const(:File)
|
||||
remove_const(:FileTest)
|
||||
remove_const(:FileUtils)
|
||||
const_set(:Dir, RealDir)
|
||||
const_set(:File, RealFile)
|
||||
const_set(:FileTest, RealFileTest)
|
||||
|
||||
const_set(:Dir, RealDir)
|
||||
const_set(:File, RealFile)
|
||||
const_set(:FileTest, RealFileTest)
|
||||
const_set(:FileUtils, RealFileUtils)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user