update (Thor::Runner)

    # File lib/thor/runner.rb, line 100
      def update(name)
        yaml = thor_yaml
        raise Error, "Can't find module `#{name}'" if !yaml[name] || !yaml[name][:location]

        puts "Updating `#{name}' from #{yaml[name][:location]}"
        old_filename = yaml[name][:filename]
        self.options = self.options.merge("as" => name)
        filename = install(yaml[name][:location])
        unless filename == old_filename
          File.delete(File.join(thor_root, old_filename))
        end
      end