W3cubDocs

/Padrino

Module: Padrino::Tasks

Overview

This module it's used for bootstrap with padrino rake third party tasks, in your gem/plugin/extension you need only do this:

Examples:

Padrino::Tasks.files << yourtask.rb
Padrino::Tasks.files.concat(Dir["/path/to/all/my/tasks/*.rb"])
Padrino::Tasks.files.unshift("yourtask.rb")

Class Method Summary

Class Method Details

.files ⇒ Object

Returns a list of files to handle with padrino rake

© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Tasks