Sha256: 3c86674d35429102feab6a6eadced0eba29457599740d4338ff6e50dd9eb003b

Contents?: true

Size: 371 Bytes

Versions: 8

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module <%= config.dig(:gem, :class) %>
  # Generator for installing new files.
  class InstallGenerator < Rails::Generators::Base
    source_root File.join(File.dirname(__FILE__), "..", "templates")

    desc "Installs additional <%= config.dig(:gem, :class) %> resources."
    def install
      # TODO: Add install code.
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gemsmith-7.7.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.6.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.5.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.4.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.3.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.2.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.1.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt
gemsmith-7.0.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_name%/install/install_generator.rb.tt