# File lib/sinatra/cookies.rb, line 168 def index(value) warn "Hash#index is deprecated; use Hash#key" if RUBY_VERSION > '1.9' key(value) end