Alex Young
10/22/2007 12:10:00 PM
Gabriel Dragffy wrote:
> What would be the best way to use Dir.rmdir to delete a directory that
> isn't empty? I think it would involve performing a recursive delete,
> this is trivial in bash, but what about in Ruby?
>
FileUtils.rm_rf should do the trick.
--
Alex