# File lib/moneta/xattr.rb, line 41 def delete(key) return nil unless key?(key) value = self[key] @hash.remove(key) value end