Module: Luban::Deployment::Helpers::LinkedPaths

Included in:
Application::Publisher, Service::Installer
Defined in:
lib/luban/deployment/helpers/linked_paths.rb

Instance Method Summary collapse

Instance Method Details

#linked_dirsObject



5
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 5

def linked_dirs; @linked_dirs ||= []; end

#linked_filesObject



6
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 6

def linked_files; @linked_files ||= []; end

#linked_files_dirObject



8
9
10
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 8

def linked_files_dir
  @linked_files_dir ||= 'config'
end

#linked_files_fromObject



16
17
18
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 16

def linked_files_from
  @linked_files_from ||= linked_files_root.join(linked_files_dir)
end

#linked_files_rootObject



12
13
14
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 12

def linked_files_root
  @linked_files_root ||= config_finder[:application].stage_profile_path.join(profile_name)
end