Module: Capistrano::DSL::BasePaths

Defined in:
lib/capistrano/dsl/base_paths.rb

Overview

Base paths and filenames/folder names for both runit and monit

Instance Method Summary collapse

Instance Method Details

#app_env_folderObject

user_app_env_path in basehelper 0.x / capistrano 2.x version



9
10
11
# File 'lib/capistrano/dsl/base_paths.rb', line 9

def app_env_folder
  "#{fetch(:application)}_#{environment}"
end

#user_app_env_file_nameObject



13
14
15
# File 'lib/capistrano/dsl/base_paths.rb', line 13

def user_app_env_file_name
  "#{fetch(:user)}_#{fetch(:application)}_#{environment}"
end