From b05008d9968c50477f18a91a71993ef581685dd3 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 8 Mar 2013 21:06:20 +0900 Subject: [PATCH] Always initialize @origin to suppress warning. --- lib/http/cookie.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/cookie.rb b/lib/http/cookie.rb index ec01ae2..a62e07b 100644 --- a/lib/http/cookie.rb +++ b/lib/http/cookie.rb @@ -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