# File lib/ole/storage/file_system.rb, line 338 def rmdir path dirent = dirent_from_path path raise Errno::ENOTEMPTY, path unless dirent.children.empty? dirent.parent.delete dirent 0 # hmmm. as per ::Dir ? end