Class: Village::Generators::SetupGenerator
- Defined in:
- lib/generators/village/setup/setup_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#setup ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/generators/village/setup/setup_generator.rb', line 10 def setup template 'village_config.yml', 'config/village_config.yml' gem "haml-rails" refresh_bundle setup_pages if .pages setup_articles if .articles setup_markdown rescue Exception => e print_notes(e.,"error",:red) end |