Sha256: 179613d6cfeaa0f95e37008a602e8fa31cf521c826cd9b1824f60fd6e48a9a7f

Contents?: true

Size: 221 Bytes

Versions: 2

Compression:

Stored size: 221 Bytes

Contents

module Sprinkle
  module Verifiers
    module Directory
      Sprinkle::Verify.register(Sprinkle::Verifiers::Directory)
      
      def has_directory(dir)
        @commands << "test -d #{dir}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

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