Sha256: b2a547b8f53804970ab766f8f143fe0267fe742377e48024d2b1ce0b3dad7927
Contents?: true
Size: 381 Bytes
Versions: 12
Compression:
Stored size: 381 Bytes
Contents
module Sprinkle module Verifiers # = Directory Verifier # # Defines a verify which can be used to test the existence of a # directory. module Directory Sprinkle::Verify.register(Sprinkle::Verifiers::Directory) # Tests that the directory <tt>dir</tt> exists. def has_directory(dir) test "-d #{dir}" end end end end
Version data entries
12 entries across 12 versions & 1 rubygems