Module: Capistrano::Env
- Defined in:
- lib/capistrano/env.rb,
lib/capistrano/env/config.rb,
lib/capistrano/env/version.rb,
lib/capistrano/env/formatter.rb,
lib/capistrano/env/v2/plugin.rb,
lib/capistrano/env/formatter/dotenv_formatter.rb
Defined Under Namespace
Modules: Formatter, Plugin
Classes: Config
Constant Summary
collapse
- VERSION =
'0.3.3'
Class Method Summary
collapse
Class Method Details
.envs ⇒ Object
9
10
11
|
# File 'lib/capistrano/env.rb', line 9
def self.envs
config.envs
end
|
.filemode ⇒ Object
21
22
23
|
# File 'lib/capistrano/env.rb', line 21
def self.filemode
config.capenv_filemode
end
|
.filename ⇒ Object
17
18
19
|
# File 'lib/capistrano/env.rb', line 17
def self.filename
config.capenv_file
end
|
.to_s ⇒ Object
13
14
15
|
# File 'lib/capistrano/env.rb', line 13
def self.to_s
config.capenv_content
end
|
.use(&block) ⇒ Object
5
6
7
|
# File 'lib/capistrano/env.rb', line 5
def self.use(&block)
block.call(config)
end
|