Partition#delete "element"

remotes/1708105384931250775/master
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
version: 0.2.0
version: 0.2.1
authors:
- Luka Vandervelden <lukc@upyum.com>

View File

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