Class: Capistrano::TaskCallback

Class | Capistrano::TaskCallback
In: | lib/capistrano/callback.rb lib/capistrano/callback.rb
Parent: | Callback

### Methods

applies_to? applies_to? call call new new

### Attributes

config | [R] |
config | [R] |

### Public Class methods

new(config, source, options={})

[Source]

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

new(config, source, options={})

[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)

[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

applies_to?(task)

[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()

[Source]

        # File lib/capistrano/callback.rb, line 37
    37:     def call
    38:       config.find_and_execute_task(source)
    39:     end

call()

[Source]

        # File lib/capistrano/callback.rb, line 37
    37:     def call
    38:       config.find_and_execute_task(source)
    39:     end

[Validate]