Sha256: 25cc7129c9f0a0561bb75934caf816cae2eed5f3b4d797be108e4c71f0d03677
Contents?: true
Size: 668 Bytes
Versions: 4
Compression:
Stored size: 668 Bytes
Contents
module Sprout module Executable ## # Concrete Sprout::Executable::Param object for Path values. # # Path parameters will create a FileList of prerequisites by concatenating the value with # the +file_expression+ that is set on the parameter or Sprout::Executable. # # @see Sprout::Executable::Param # class Path < Executable::Param def prepare_prerequisites if(value && !file_is_output?(value)) files = FileList[value + file_expression] files.each do |f| Rake::FileTask.define_task f belongs_to.prerequisites << f end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems