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