# File lib/fakefs/dir.rb, line 5 def initialize(string) raise Errno::ENOENT, string unless FileSystem.find(string) @path = string @open = true @pointer = 0 @contents = [ '.', '..', ] + FileSystem.find(@path).values end