Files

Class/Module 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
def initialize(config, source, options={})
  super(source, options)
  @config = config
end

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.