Partition#delete "element"

This commit is contained in:
Philippe PITTOLI 2020-04-08 00:35:39 +02:00
parent c4223eabf1
commit 42f3b4e5c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
name: dodb name: dodb
version: 0.2.0 version: 0.2.1
authors: authors:
- Luka Vandervelden <lukc@upyum.com> - Luka Vandervelden <lukc@upyum.com>

View File

@ -53,6 +53,10 @@ class DODB::Partition(V) < DODB::Indexer(V)
r_value r_value
end end
def delete(partition)
delete partition, do true end
end
def delete(partition, &matcher) def delete(partition, &matcher)
partition_directory = indexing_directory partition partition_directory = indexing_directory partition