Parent

Files

Class/Module Index [+]

Quicksearch

Capistrano::Deploy::LocalDependency

Attributes

configuration[R]
message[R]

Public Class Methods

new(configuration) click to toggle source
# File lib/capistrano/recipes/deploy/local_dependency.rb, line 7
def initialize(configuration)
  @configuration = configuration
  @success = true
end

Public Instance Methods

command(command) click to toggle source
# File lib/capistrano/recipes/deploy/local_dependency.rb, line 12
def command(command)
  @message ||= "`#{command}' could not be found in the path on the local host"
  @success = find_in_path(command)
  self
end
or(message) click to toggle source
# File lib/capistrano/recipes/deploy/local_dependency.rb, line 18
def or(message)
  @message = message
  self
end
pass?() click to toggle source
# File lib/capistrano/recipes/deploy/local_dependency.rb, line 23
def pass?
  @success
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.