summary refs log tree commit
diff options
context:
space:
mode:
authorJian Weihang <tonytonyjan@gmail.com>2016-12-06 15:45:10 +0800
committerJian Weihang <tonytonyjan@gmail.com>2016-12-06 15:45:10 +0800
commit09ef908fe534cbdb07df1c883c20df49c69b078a (patch)
tree844450eafc70a120bffe7ae0838589dee0ecff32
parentea9e7a570b7ffd8ac6845a9ebecdd7de0af6b0ca (diff)
downloadrack-09ef908fe534cbdb07df1c883c20df49c69b078a.tar.gz
typo fix
-rw-r--r--lib/rack/session/abstract/id.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/session/abstract/id.rb b/lib/rack/session/abstract/id.rb
index ca1a2628..d12b3b53 100644
--- a/lib/rack/session/abstract/id.rb
+++ b/lib/rack/session/abstract/id.rb
@@ -177,7 +177,7 @@ module Rack
       # * :key determines the name of the cookie, by default it is
       #   'rack.session'
       # * :path, :domain, :expire_after, :secure, and :httponly set the related
-      #   cookie options as by Rack::Response#add_cookie
+      #   cookie options as by Rack::Response#set_cookie
       # * :skip will not a set a cookie in the response nor update the session state
       # * :defer will not set a cookie in the response but still update the session
       #   state if it is used with a backend