instance method
Pathname#rmdir
() -> 0
rmdir
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 1142
def rmdir() Dir.rmdir(@path) end
See Dir.rmdir. Remove the referenced directory.