Class: Scales::Scalify

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/scales-core/scalify.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



5
6
7
# File 'lib/scales-core/scalify.rb', line 5

def self.source_root
  File.expand_path "../scalify/templates", __FILE__
end

Instance Method Details

#create_cache_fileObject



13
14
15
# File 'lib/scales-core/scalify.rb', line 13

def create_cache_file
  template 'cache.yml', "config/cache.yml"
end

#create_scaleup_fileObject



9
10
11
# File 'lib/scales-core/scalify.rb', line 9

def create_scaleup_file
  template 'scaleup.rb', "config/scaleup.rb"
end