Method: Cotta::InMemorySystem#delete_dir

Defined in:
lib/cotta/impl/in_memory_system.rb

#delete_dir(pathname) ⇒ Object

Raises:

  • (Errno::ENOENT)


112
113
114
115
# File 'lib/cotta/impl/in_memory_system.rb', line 112

def delete_dir(pathname)
  raise Errno::ENOENT.new(pathname) unless dir_exists? pathname
  delete_entry(pathname)
end