Sha256: 5245224da3666f41ffdffadef2ddb4bf37550791a36783dc97ed401c9b4c9447
Contents?: true
Size: 437 Bytes
Versions: 7
Compression:
Stored size: 437 Bytes
Contents
module UniqIdentifier module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc <<DESC description : copy uniq_identifier configuration to an initializer. rails generate uniq_identifier:install DESC def copy_initializer_file template 'uniq_identifier.rb', "config/initializers/uniq_identifier.rb" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems