Module: Rateaux::FileTask
- Defined in:
- lib/rateaux/file_task.rb
Instance Method Summary collapse
Instance Method Details
#file_task(path, definition) ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/rateaux/file_task.rb', line 34 def file_task(path, definition) t = task(definition) do yield end file(path) do Rake::Task[t.name].invoke end end |