class Sinatra::Cookies::Jar

def replace(other)

def replace(other)
  select! { |k, _v| other.include?(k) or other.include?(k.to_s) }
  merge! other
end