Class: Zoo::Generators::ConfigGenerator
- Defined in:
- lib/generators/zoo/config/config_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create_config ⇒ Object
8 9 10 11 |
# File 'lib/generators/zoo/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 |