Class: Seivan::Generators::ConfigGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/seivan/config/config_generator.rb

Instance Method Summary collapse

Methods inherited from Base

banner, source_root

Instance Method Details

#create_configObject



8
9
10
11
# File 'lib/generators/seivan/config/config_generator.rb', line 8

def create_config
  template "load_config.rb", "config/initializers/load_#{file_name}_config.rb"
  copy_file "config.yml", "config/#{file_name}_config.yml"
end