lib/generators/annotate/install_generator.rb



module Annotate
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy annotate_models rakefiles for automatic annotation"
      source_root File.expand_path('../templates', __FILE__)

      # copy rake tasks
      def copy_tasks
        template "auto_annotate_models.rake", "lib/tasks/auto_annotate_models.rake"
      end

    end
  end
end