granth green sumo

turkey sandwiches!

Photo fish taco Photo Photo Photo He found the camera button.

Thorcat 21 January 2009

ruby, thor, github, gist, sake

Spit out the code, Sake style.

$ thor cat:task gem:mate
require "rubygems"
require "rubygems/doc_manager"

class Gem < Thor
  desc "mate GEM", "open GEM folder in TextMate"
  def mate(gem)
    system("mate '#{gemdir(gem)}'")

Install thorcat with thor install

previously: Gmail SMTP for Rails