Sha256: 84d9a6d18cfff75a7818cd3b119c356e2e7ade768bc9579ee1262c810a6971d7

Contents?: true

Size: 378 Bytes

Versions: 25

Compression:

Stored size: 378 Bytes

Contents

module Sprout

  module Executable

    ##
    # Concrete param object for collections of paths
    class Paths < Files 

      def prepare_prerequisites
        value.each do |path|
          files = FileList[path + file_expression]
          files.each do |f|
            file f
            belongs_to.prerequisites << f
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
sprout-1.0.4.pre lib/sprout/executable/paths.rb
sprout-1.0.3.pre lib/sprout/executable/paths.rb
sprout-1.0.2.pre lib/sprout/executable/paths.rb
sprout-1.0.1.pre lib/sprout/executable/paths.rb
sprout-1.0.0.pre lib/sprout/executable/paths.rb