Method: Reap::Utilities.directory!

Defined in:
lib/reap/utilities.rb

.directory!Object

Assert that a given path is a directory.



193
194
195
196
197
# File 'lib/reap/utilities.rb', line 193

def dir!(*paths)
  paths.each do |path|
    abort "Directory not found: '#{path}'." unless  dir?(path)
  end
end