Class Capistrano::Deploy::LocalDependency
In: lib/capistrano/recipes/deploy/local_dependency.rb
lib/capistrano/recipes/deploy/local_dependency.rb
Parent: Object

Methods

command   command   new   new   or   or   pass?   pass?  

Attributes

configuration  [R] 
configuration  [R] 
message  [R] 
message  [R] 

Public Class methods

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 7
 7:       def initialize(configuration)
 8:         @configuration = configuration
 9:         @success = true
10:       end

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 7
 7:       def initialize(configuration)
 8:         @configuration = configuration
 9:         @success = true
10:       end

Public Instance methods

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 12
12:       def command(command)
13:         @message ||= "`#{command}' could not be found in the path on the local host"
14:         @success = find_in_path(command)
15:         self
16:       end

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 12
12:       def command(command)
13:         @message ||= "`#{command}' could not be found in the path on the local host"
14:         @success = find_in_path(command)
15:         self
16:       end

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 18
18:       def or(message)
19:         @message = message
20:         self
21:       end

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 18
18:       def or(message)
19:         @message = message
20:         self
21:       end

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 23
23:       def pass?
24:         @success
25:       end

[Source]

    # File lib/capistrano/recipes/deploy/local_dependency.rb, line 23
23:       def pass?
24:         @success
25:       end

[Validate]