ruby / pathname

Pathname represents the name of a file or directory on the filesystem, but not the file itself.
BSD 2-Clause "Simplified" License
26 stars 16 forks source link

Support all rm_r options in Pathname#rmtree #8

Closed olleolleolle closed 2 years ago

olleolleolle commented 3 years ago

This PR adds a fuller set of options passed through to the FileUtils method being supported on Pathname. Fixes #6

Question

FileUtils#rmtree was an alias for FileUtils#rm_rf.

This PR moves from rm_r to rm_rf, to reflect the API documentation notes.

This is a change of the implementation.

Would you prefer to change the documentation OR the implementation?