Sha256: d18d16f6aeb4e75ef0475eb990ed0a2aadcaea87b343e3fe4587d48a569e7732

Contents?: true

Size: 395 Bytes

Versions: 4

Compression:

Stored size: 395 Bytes

Contents

require "annotated"

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

      # 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
annotated-0.1.1 lib/generators/annotated/install_generator.rb
annotated-0.1.0 lib/generators/annotated/install_generator.rb
annotated-0.0.3 lib/generators/annotated/install_generator.rb
annotated-0.0.2 lib/generators/annotated/install_generator.rb