Method: Fire::Task#invoke

Defined in:
lib/fire/task.rb

#invoke(&prepare) ⇒ Object Also known as: apply

Run the task.



30
31
32
33
# File 'lib/fire/task.rb', line 30

def invoke(&prepare)
  prepare.call
  call
end