def delete (k)

      k = k.to_s
      v = self[k]

      @db.out(k) ? v : nil
    end
def delete (k)

      k = k.to_s
      v = self[k]

      @db.out(k) ? v : nil
    end
Removes a record from the cabinet, returns the value if successful
 else nil.