# File lib/fakefs/file.rb, line 124 def self.read(path) file = new(path) if file.exists? file.read else raise Errno::ENOENT end end