Always initialize @origin to suppress warning.

This commit is contained in:
Akinori MUSHA 2013-03-08 21:06:20 +09:00
parent 3ec9dc3200
commit b05008d996

View file

@ -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