Partition#delete "element"
This commit is contained in:
parent
c4223eabf1
commit
42f3b4e5c0
@ -1,5 +1,5 @@
|
||||
name: dodb
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
|
||||
authors:
|
||||
- Luka Vandervelden <lukc@upyum.com>
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user