mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Reduce warnings from the interpreter. (method redefinition)
This commit is contained in:
parent
92fe768c7f
commit
3ec9dc3200
1 changed files with 2 additions and 4 deletions
|
|
@ -47,8 +47,8 @@ class HTTP::Cookie
|
|||
|
||||
include URIFix if defined?(URIFix)
|
||||
|
||||
attr_accessor :name, :value, :version
|
||||
attr_accessor :domain, :path, :secure
|
||||
attr_reader :name, :domain, :path, :origin
|
||||
attr_accessor :secure, :value, :version
|
||||
attr_reader :domain_name
|
||||
attr_accessor :comment, :max_age
|
||||
|
||||
|
|
@ -57,8 +57,6 @@ class HTTP::Cookie
|
|||
attr_accessor :created_at
|
||||
attr_accessor :accessed_at
|
||||
|
||||
attr_accessor :origin
|
||||
|
||||
# :call-seq:
|
||||
# new(name, value)
|
||||
# new(name, value, attr_hash)
|
||||
|
|
|
|||
Loading…
Reference in a new issue