json :: JsonStore :: clear
Warning: all JsonStore instances sharing the same store_dir will be cleared.
JsonStore
store_dir
# Delete all stored data. # # Warning: all `JsonStore` instances sharing the same `store_dir` will # be cleared. fun clear do if not store_dir.file_exists then return store_dir.rmdir end