mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
yaml_initialize: Initialize @origin to reduce warnings.
This commit is contained in:
parent
17a3cbc970
commit
2e8fcb4a76
1 changed files with 1 additions and 0 deletions
|
|
@ -713,6 +713,7 @@ class HTTP::Cookie
|
|||
# YAML deserialization helper for Psych.
|
||||
def yaml_initialize(tag, map)
|
||||
expires = nil
|
||||
@origin = nil
|
||||
map.each { |key, value|
|
||||
case key
|
||||
when 'expires'
|
||||
|
|
|
|||
Loading…
Reference in a new issue