Sha256: c5d6c92f777de2522f873dc5c41e99a414a0037c6ebc390e9a41b4156268f44c

Contents?: true

Size: 486 Bytes

Versions: 10

Compression:

Stored size: 486 Bytes

Contents

module Sprout

  module Executable

    ##
    # A collection of Paths.
    #
    # @see Sprout::Executable::Path
    # @see Sprout::Executable::Param
    # @see Sprout::Executable::CollectionParam
    #
    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

10 entries across 10 versions & 1 rubygems

Version Path
sprout-1.1.14.pre lib/sprout/executable/paths.rb
sprout-1.1.13.pre lib/sprout/executable/paths.rb
sprout-1.1.11.pre lib/sprout/executable/paths.rb
sprout-1.1.10.pre lib/sprout/executable/paths.rb
sprout-1.1.7.pre lib/sprout/executable/paths.rb
sprout-1.1.5.pre lib/sprout/executable/paths.rb
sprout-1.1.4.pre lib/sprout/executable/paths.rb
sprout-1.1.3.pre lib/sprout/executable/paths.rb
sprout-1.1.2.pre lib/sprout/executable/paths.rb
sprout-1.0.35.pre lib/sprout/executable/paths.rb