# File lib/sinatra/cookies.rb, line 243 def shift key, value = to_hash.shift delete(key) [key, value] end