class Thor::Runner

def uninstall(name)

def uninstall(name)
  raise Error, "Can't find module '#{name}'" unless thor_yaml[name]
  say "Uninstalling #{name}."
  require "fileutils"
  FileUtils.rm_rf(File.join(thor_root, (thor_yaml[name][:filename]).to_s))
  thor_yaml.delete(name)
  save_yaml(thor_yaml)
  puts "Done."
end