Reduce warnings from the interpreter. (method redefinition)

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

View file

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