1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use more appropriate one-liner for class declaration

This commit is contained in:
brainopia 2012-04-30 15:42:25 +04:00
parent 63c00ba558
commit 312ee86373

View file

@ -82,7 +82,7 @@ module ActionDispatch
TOKEN_KEY = "action_dispatch.secret_token".freeze TOKEN_KEY = "action_dispatch.secret_token".freeze
# Raised when storing more than 4K of session data. # Raised when storing more than 4K of session data.
class CookieOverflow < StandardError; end CookieOverflow = Class.new StandardError
class CookieJar #:nodoc: class CookieJar #:nodoc:
include Enumerable include Enumerable