Module: Luban::Deployment::Helpers::LinkedPaths
- Included in:
- Application::Publisher, Service::Installer
- Defined in:
- lib/luban/deployment/helpers/linked_paths.rb
Instance Method Summary collapse
- #linked_dirs ⇒ Object
- #linked_files ⇒ Object
- #linked_files_dir ⇒ Object
- #linked_files_from ⇒ Object
- #linked_files_root ⇒ Object
Instance Method Details
#linked_dirs ⇒ Object
5 |
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 5 def linked_dirs; @linked_dirs ||= []; end |
#linked_files ⇒ Object
6 |
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 6 def linked_files; @linked_files ||= []; end |
#linked_files_dir ⇒ Object
8 9 10 |
# File 'lib/luban/deployment/helpers/linked_paths.rb', line 8 def linked_files_dir @linked_files_dir ||= 'config' end |
#linked_files_from ⇒ Object
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_root ⇒ Object
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 |