Sha256: 4f4fc5bd3691e8e9646a38922f82ab523538b4c1d3df46a71dfd0cc3547c2ad1
Contents?: true
Size: 553 Bytes
Versions: 12
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true require_relative "../../lib/plutonium_generators" module Pu module Gem class AnnotatedGenerator < Rails::Generators::Base include PlutoniumGenerators::Generator source_root File.expand_path("templates", __dir__) desc "Install the annnotated gem" def start bundle "annotated", group: :development generate "annotated:install" copy_file "lib/tasks/auto_annotate_models.rake" rescue => e exception "#{self.class} failed:", e end end end end
Version data entries
12 entries across 12 versions & 1 rubygems