Sha256: c86f6fafb2697539b3d59f7e96fc8a7703c4791c5e3b24643c4531a5d979d215

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

require "annotate_rb"

module AnnotateRb
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path("templates", __dir__)

      def copy_task
        copy_file "annotate_rb.rake", "lib/tasks/annotate_rb.rake"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
annotaterb-4.4.1 lib/generators/annotate_rb/install/install_generator.rb
annotaterb-4.4.0 lib/generators/annotate_rb/install/install_generator.rb
annotaterb-4.3.1 lib/generators/annotate_rb/install/install_generator.rb
annotaterb-4.3.0 lib/generators/annotate_rb/install/install_generator.rb
annotaterb-4.2.0 lib/generators/annotate_rb/install/install_generator.rb