Sha256: 1d5947f634c392019504fbf857510b3e6ca6cf4770f4659c462b828d55970152
Contents?: true
Size: 646 Bytes
Versions: 10
Compression:
Stored size: 646 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| file f belongs_to.prerequisites << f end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems