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