Class: ActiveEnum::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_enum/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializersObject



8
9
10
# File 'lib/generators/active_enum/install_generator.rb', line 8

def copy_initializers
  copy_file 'active_enum.rb', 'config/initializers/active_enum.rb'
end