Class Index [+]

Quicksearch

Capistrano::TaskCallback

Attributes

config[R]

Public Class Methods

new(config, source, options={}) click to toggle source
    # File lib/capistrano/callback.rb, line 32
32:     def initialize(config, source, options={})
33:       super(source, options)
34:       @config = config
35:     end

Public Instance Methods

applies_to?(task) click to toggle source
    # File lib/capistrano/callback.rb, line 41
41:     def applies_to?(task)
42:       super && (task.nil? || task.fully_qualified_name != source.to_s)
43:     end
call() click to toggle source
    # File lib/capistrano/callback.rb, line 37
37:     def call
38:       config.find_and_execute_task(source)
39:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.