Partition#delete "element"
This commit is contained in:
parent
c4223eabf1
commit
42f3b4e5c0
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue