To learn and fall in love with Ruby:
* write a web scraper using Hpricot and/or Mechanize
* wrap it in a RubyGem
* make a command-line executable (bin/xyz) that runs the web scraper and dumps results to STDOUT
* deploy RubyGem to RubyForg
* tell your friends to install it: gem install xyz
* write another RubyGem that uses the output of your first gem as its STDIN input * pipe the apps together: xyz | abc | mno
Holy moly it is awesome fun.
Design by Simon Fletcher. Powered by Tumblr.
© Copyright 2010