# File lib/pathname.rb, line 981
  def opendir(&block) # :yield: dir
    Dir.open(@path, &block)
  end