Module: Padrino::Tasks

Defined in:
lib/vendored-middleman-deps/padrino-core-0.11.2/lib/padrino-core/tasks.rb

Overview

This module it’s used for bootstrap with padrino rake thirdy 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 collapse

Class Method Details

.filesObject

Returns a list of files to handle with padrino rake



17
18
19
# File 'lib/vendored-middleman-deps/padrino-core-0.11.2/lib/padrino-core/tasks.rb', line 17

def self.files
  @files ||= []
end