Class: AppYml::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_config_fileObject



13
14
15
# File 'lib/generators/app_yml/install/install_generator.rb', line 13

def create_config_file
  template 'app.yml', File.join('config', 'app.yml')
end

#create_initializer_fileObject



17
18
19
# File 'lib/generators/app_yml/install/install_generator.rb', line 17

def create_initializer_file
  template 'app.rb', File.join('config', 'initializers', 'app.rb')
end