Class: CapistranoHelpers
- Inherits:
-
Object
- Object
- CapistranoHelpers
- Defined in:
- lib/capistrano-helpers.rb
Class Method Summary collapse
-
.with_configuration(&block) ⇒ Object
Execute the given block of code within the context of the capistrano configuration.
Class Method Details
.with_configuration(&block) ⇒ Object
Execute the given block of code within the context of the capistrano configuration.
11 12 13 |
# File 'lib/capistrano-helpers.rb', line 11 def self.with_configuration(&block) Capistrano::Configuration.instance(:must_exist).load(&block) end |