Sha256: fe2def6ebe4c13ecaa0fa44460c07809846c01797eee5a82b44be1e01a088e0e

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

module LeadManagement
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __dir__)

      desc 'This will create initializer files for lead management'
      def create_initializer
        create_file "config/initializer/lead_management.rb" <<~ RUBY
      end

      desc 'This will create config file for lead management'
      def create_config
        templates 'lead_management_config.rb', "#{Rails.root}/config/lead_management_config.rb"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lead_management-0.1.1 lib/generators/lead_management/install_generator.rb