Class: ASRake::ExeTask

Inherits:
Rake::FileTask
  • Object
show all
Defined in:
lib/asrake/exe_task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(task_name, app) ⇒ ExeTask

Returns a new instance of ExeTask.



10
11
12
# File 'lib/asrake/exe_task.rb', line 10

def initialize(task_name, app)
	super
end

Instance Attribute Details

#post_invokeObject

Returns the value of attribute post_invoke.



8
9
10
# File 'lib/asrake/exe_task.rb', line 8

def post_invoke
  @post_invoke
end

#pre_invokeObject

Returns the value of attribute pre_invoke.



7
8
9
# File 'lib/asrake/exe_task.rb', line 7

def pre_invoke
  @pre_invoke
end

Instance Method Details

#invoke_with_call_chain(task_args, invocation_chain) ⇒ Object



14
15
16
17
18
# File 'lib/asrake/exe_task.rb', line 14

def invoke_with_call_chain(task_args, invocation_chain)
		pre_invoke.call() if pre_invoke != nil
		super
		post_invoke.call() if post_invoke != nil
end