--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Defines a callback to be invoked before the given task. You must specify the fully-qualified task name, both for the primary task, and for the task(s) to be executed before. Alternatively, you can pass a block to be executed before the given task.
- !ruby/struct:SM::Flow::VERB 
  body: "  before &quot;deploy:update_code&quot;, :record_difference\n  before :deploy, &quot;custom:log_deploy&quot;\n  before :deploy, :this, &quot;then:this&quot;, &quot;and:then:this&quot;\n  before :some_task do\n    puts &quot;an anonymous hook!&quot;\n  end\n"
- !ruby/struct:SM::Flow::P 
  body: "This just provides a convenient interface to the more general #on method."
full_name: Capistrano::Configuration::Callbacks#before
is_singleton: false
name: before
params: (task_name, *args, &block)
visibility: public
