Skip to content
instance method

Pathname#unlink

() -> ::Integer
unlink

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

See also #truncate #utime #to_s #world_readable? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0