Sha256: 0e313bdf76d003b3858ab849ff746f4f7e70e2647262d5b45f0edbd2dcbf107f
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true require "rails/generators/base" module EncodedId module Rails module Generators # The Install generator `encoded_id-rails:install` class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path(__dir__) desc "Creates an initializer for the gem." def copy_tasks template "templates/encoded_id.rb", "config/initializers/encoded_id.rb" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
encoded_id-rails-0.1.0 | lib/generators/encoded_id/rails/install_generator.rb |