Sha256: 03e2870ef0c415f6e27ffaec07f2f883fcfbb38faa56f782bc4ccae98d3cf6e8

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

module AnnotateModels
  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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
annotate-2.5.0 lib/generators/annotate_models/install_generator.rb
annotate-2.5.0.pre3 lib/generators/annotate_models/install_generator.rb
annotate-2.5.0.pre2 lib/generators/annotate_models/install_generator.rb
annotate-2.5.0.pre1 lib/generators/annotate_models/install_generator.rb