Parent

Included Modules

Files

Class/Module Index [+]

Quicksearch

Capistrano::Deploy::Dependencies

Attributes

configuration[R]

Public Class Methods

new(configuration) click to toggle source
# File lib/capistrano/recipes/deploy/dependencies.rb, line 11
def initialize(configuration)
  @configuration = configuration
  @dependencies = []
  yield self if block_given?
end

Public Instance Methods

check() click to toggle source
# File lib/capistrano/recipes/deploy/dependencies.rb, line 17
def check
  yield self
  self
end
each() click to toggle source
# File lib/capistrano/recipes/deploy/dependencies.rb, line 34
def each
  @dependencies.each { |d| yield d }
  self
end
local() click to toggle source
# File lib/capistrano/recipes/deploy/dependencies.rb, line 28
def local
  dep = LocalDependency.new(configuration)
  @dependencies << dep
  dep
end
pass?() click to toggle source
# File lib/capistrano/recipes/deploy/dependencies.rb, line 39
def pass?
  all? { |d| d.pass? }
end
remote() click to toggle source
# File lib/capistrano/recipes/deploy/dependencies.rb, line 22
def remote
  dep = RemoteDependency.new(configuration)
  @dependencies << dep
  dep
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.