mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Always initialize @origin to suppress warning.
This commit is contained in:
parent
3ec9dc3200
commit
b05008d996
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class HTTP::Cookie
|
|||
def initialize(*args)
|
||||
@version = 0 # Netscape Cookie
|
||||
|
||||
@domain = @path = @secure = @comment = @max_age =
|
||||
@origin = @domain = @path = @secure = @comment = @max_age =
|
||||
@expires = nil
|
||||
|
||||
@created_at = @accessed_at = Time.now
|
||||
|
|
|
|||
Loading…
Reference in a new issue