Module: Stable::Paths

Defined in:
lib/stable/paths.rb

Class Method Summary collapse

Class Method Details

.apps_fileObject



19
20
21
# File 'lib/stable/paths.rb', line 19

def self.apps_file
  File.join(root, "apps.yml")
end

.caddy_dirObject



7
8
9
# File 'lib/stable/paths.rb', line 7

def self.caddy_dir
  root
end

.caddyfileObject



11
12
13
# File 'lib/stable/paths.rb', line 11

def self.caddyfile
  File.join(caddy_dir, "Caddyfile")
end

.certs_dirObject



15
16
17
# File 'lib/stable/paths.rb', line 15

def self.certs_dir
  File.join(root, "certs")
end

.rootObject



3
4
5
# File 'lib/stable/paths.rb', line 3

def self.root
  File.expand_path("~/StableCaddy")
end