Sha256: 07706fbc6d5d0b420beb2574a47d1bcaaec5479aaffcc2e287789011a3bf7fe4

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

module Sprinkle
  module Verifiers
    module File
      Sprinkle::Verify.register(Sprinkle::Verifiers::File)
      
      def has_file(path)
        @commands << "test -f #{path}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
auser-sprinkle-0.1.5 lib/sprinkle/verifiers/file.rb
mitchellh-sprinkle-0.1.5 lib/sprinkle/verifiers/file.rb