Sha256: 7e2f66e47d56f2933418042eff605802eb90fd96ab65dc3baad6e5d245f3bb33
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 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" 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.2 | lib/generators/lead_management/install_generator.rb |