granth green sumo

turkey sandwiches!

️ :sunny: :bike: Photo Photo Photo Photo :sparkles:️‍:rainbow:️‍⚧️:sparkles:

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