See Dir.open.
Dir.open
Yield Parameters:
61 62 63
# File 'lib/path/dir.rb', line 61 def opendir(&block) Dir.open(@path, &block) end