Module: Rake::DSL
- Defined in:
- lib/bow/rake.rb
Instance Method Summary collapse
-
#flow(*flow) ⇒ Object
Describe the flow of the next rake task.
Instance Method Details
#flow(*flow) ⇒ Object
Describe the flow of the next rake task.
Example:
flow run: :once, enabled: true, revert: :world_down
task world: [:build] do
# ... build world
end
task :world_down do
# ... destroy world
end
23 24 25 |
# File 'lib/bow/rake.rb', line 23 def flow(*flow) # :doc: Rake.application.last_flow = flow end |