Class: Savory::Theme::Exec

Inherits:
Object
  • Object
show all
Defined in:
lib/savory/theme/exec.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Exec

Returns a new instance of Exec.



7
8
9
10
11
# File 'lib/savory/theme/exec.rb', line 7

def initialize(args)
  @args = args
  @force = false # XXX
  @verbose = true # XXX
end

Instance Method Details

#installObject



18
19
20
21
22
23
24
# File 'lib/savory/theme/exec.rb', line 18

def install
  install_rakefile
  install_version
  recursive_install("app")
  recursive_install("config")
  recursive_install("data")
end

#run!Object



13
14
15
16
# File 'lib/savory/theme/exec.rb', line 13

def run!
  install
  0
end