Sha256: bfd2b2f3d5e3537f493bf08ebdeca8c72121aab8a6a1b5c097aca86c779caf69

Contents?: true

Size: 322 Bytes

Versions: 10

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

require "annotate_rb"

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
annotaterb-4.13.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.12.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.11.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.10.2 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.10.1 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.10.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.9.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.7.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.6.0 lib/generators/annotate_rb/hook/hook_generator.rb
annotaterb-4.5.0 lib/generators/annotate_rb/hook/hook_generator.rb