# File lib/pathname.rb, line 964 def each_entry(&block) # :yield: p Dir.foreach(@path) {|f| yield self.class.new(f) } end