Module: Puer::Tasks

Defined in:
lib/puer/tasks.rb

Overview

This module it’s used for bootstrap with puer rake thirdy party tasks

Examples

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

Class Method Summary collapse

Class Method Details

.filesObject

Returns a list of files to handle with puer rake



18
19
20
# File 'lib/puer/tasks.rb', line 18

def self.files
  @files ||= Dir[File.dirname(__FILE__) + "/tasks/**/*.rb"]
end