Skip to content
instance method

Pathname#delete

() -> ::Integer
delete

Alias of #unlink

Removes a file or directory, using File.unlink or Dir.unlink as necessary.

See also #unlink #ctime #descend #cleanpath also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0