Skip to content

Commit

Permalink
Use more appropriate one-liner for class declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
brainopia committed Apr 30, 2012
1 parent 63c00ba commit 312ee86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/middleware/cookies.rb
Expand Up @@ -82,7 +82,7 @@ class Cookies
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
Expand Down

0 comments on commit 312ee86

Please sign in to comment.