Sha256: 701129237f5eb761425e86ad90f451c367574eb1a72fc0a670a7ab765d06a525
Contents?: true
Size: 585 Bytes
Versions: 4
Compression:
Stored size: 585 Bytes
Contents
module Sprout module Executable ## # Concrete param object for collections of files # # @see Sprout::Executable::FileParam # @see Sprout::Executable::Param # @see Sprout::Executable::CollectionParam # class Files < Executable::Param include CollectionParam def to_shell_value value.collect do |path| clean_path path end end def prepare_prerequisites value.each do |f| Rake::FileTask.define_task f belongs_to.prerequisites << f end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems