Sha256: deb6c7a369cb62134ad97c49c7d14da26c603240aacfdab6aaf270c928130d81
Contents?: true
Size: 468 Bytes
Versions: 12
Compression:
Stored size: 468 Bytes
Contents
module Sprinkle module Verifiers # = File Verifier # # Contains a verifier to check the existance of a file. # # == Example Usage # # verify { has_file '/etc/apache2/apache2.conf' } # module File Sprinkle::Verify.register(Sprinkle::Verifiers::File) # Checks to make sure <tt>path</tt> is a file on the remote server. def has_file(path) @commands << "test -f #{path}" end end end end
Version data entries
12 entries across 12 versions & 5 rubygems