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:
parent
63c00ba558
commit
312ee86373
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module ActionDispatch
|
|||
TOKEN_KEY = "action_dispatch.secret_token".freeze
|
||||
|
||||
# Raised when storing more than 4K of session data.
|
||||
class CookieOverflow < StandardError; end
|
||||
CookieOverflow = Class.new StandardError
|
||||
|
||||
class CookieJar #:nodoc:
|
||||
include Enumerable
|
||||
|
|
Loading…
Reference in a new issue