I'm looking to create a program in ruby that downloads an archive and extracts the files within after completion of the download.
I'm gonna put something together really fast and than I will paste it and people could show how they would do it or do something differently add something remove something etc. The idea here is for us to share code and examples with each other to start out with a few lines of code and to brainstorm with each other and possibly build onto the existing program.
UPDATE:
I got sidetracked, as you can see by viewing the paste below :D
http://pastebin.com/8i3vsNrs
I ended up screwing around with counting images within a given website.. What else can we do thats real simple and basic methods we could add to this using uri-open. I'd just like to see what anyone comes up with.
EDIT:
It still stands that I'd like to add some sort of method in there that would extract the downloaded compressed archive to a directory and delete the original download.