Sha256: bbc8f9b2cda2e433b5efb1084aaf02515322ba4dce375f9ca076149d2a1e4cd4

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
annotate-2.7.2 lib/generators/annotate/install_generator.rb
annotate-2.7.1 lib/generators/annotate/install_generator.rb