Trash files in Ruby
JP’s a Dad now 😳
March 25, 2009
github.com
I’ve written a ruby File class extension - File.trash( filename ) - which allows you to send files to the Trash or Recycle bin (depending on your OS).
Mac support is ready, Windows support is touch-and-go (read the wiki for more info) and its been so long since I used Linux (ahh, the Arch days) I can’t remember how the bins work over there. Anyone want to help?
Discussion in the ATmosphere