# File lib/moneta/mongodb.rb, line 37 def delete(key) value = self[key] @cache.remove('_id' => key) if value value end