module FakeFS::FileSystem
def normalize_path(path)
def normalize_path(path) if Pathname.new(path).absolute? File.expand_path(path) else parts = dir_levels + [path] File.expand_path(File.join(*parts)) end end
def normalize_path(path) if Pathname.new(path).absolute? File.expand_path(path) else parts = dir_levels + [path] File.expand_path(File.join(*parts)) end end