Class: GreatAxe::AiSupport::SettingsGenerator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- GreatAxe::AiSupport::SettingsGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/great_axe/ai_support/settings_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_paths ⇒ Object
10 11 12 13 |
# File 'lib/great_axe/ai_support/settings_generator.rb', line 10 def self.source_paths base_path = File.dirname(__FILE__) %W[#{base_path}/templates ] end |
Instance Method Details
#generate_settings ⇒ Object
15 16 17 |
# File 'lib/great_axe/ai_support/settings_generator.rb', line 15 def generate_settings template('settings.tt', './ai_settings.yml') end |