# File femto.rb, line 224 def delete_item(id) begin @store.transaction() { @store.roots.each { |section| @store[section].delete_if { |key, item| id == item.deleteid } } } rescue $stderr.puts "Could not delete item with id #{id}: #{$!}" end end