Sha256: dd7d293a8fd84b815b73bfaab27c08ff9dabe7f4da975e2f8604d5bce11891a9
Contents?: true
Size: 394 Bytes
Versions: 45
Compression:
Stored size: 394 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) @commands << "test -d #{dir}" end end end end
Version data entries
45 entries across 45 versions & 12 rubygems