Method: FakeFS::File.expand_path

Defined in:
lib/fakefs/file.rb

.expand_path(file_name, dir_string = FileSystem.current_dir.to_s) ⇒ Object



176
177
178
# File 'lib/fakefs/file.rb', line 176

def self.expand_path(file_name, dir_string = FileSystem.current_dir.to_s)
  RealFile.expand_path(file_name, RealFile.expand_path(dir_string, Dir.pwd))
end