Module: CapistranoHttpNotify

Defined in:
lib/capistrano-http-notify.rb,
lib/capistrano-http-notify/version.rb

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.with_configuration(&block) ⇒ Object

Execute the given block of code within the context of the capistrano configuration.



5
6
7
# File 'lib/capistrano-http-notify.rb', line 5

def self.with_configuration(&block)
  Capistrano::Configuration.instance(:must_exist).load(&block)
end