Method: Imagery::Core#delete

Defined in:
lib/imagery.rb

#deleteObject

A very simple and destructive method. Deletes the entire folder for the current prefix/id combination.



96
97
98
99
100
# File 'lib/imagery.rb', line 96

def delete
  return if not id

  FileUtils.rm_rf(root)
end