Class: Scales::Scalify
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Scales::Scalify
- Includes:
- Thor::Actions
- Defined in:
- lib/scales-core/scalify.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
5 6 7 |
# File 'lib/scales-core/scalify.rb', line 5 def self.source_root File. "../scalify/templates", __FILE__ end |
Instance Method Details
#create_cache_file ⇒ Object
13 14 15 |
# File 'lib/scales-core/scalify.rb', line 13 def create_cache_file template 'cache.yml', "config/cache.yml" end |
#create_scaleup_file ⇒ Object
9 10 11 |
# File 'lib/scales-core/scalify.rb', line 9 def create_scaleup_file template 'scaleup.rb', "config/scaleup.rb" end |