mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Drop HTTP::Cookie#set_domain.
This commit is contained in:
parent
0cf86222f6
commit
6110545ff9
1 changed files with 1 additions and 3 deletions
|
|
@ -162,8 +162,6 @@ class HTTP::Cookie
|
|||
end
|
||||
end
|
||||
|
||||
alias set_domain domain=
|
||||
|
||||
# Sets the domain attribute. A leading dot in +domain+ implies
|
||||
# turning the +for_domain?+ flag on.
|
||||
def domain=(domain)
|
||||
|
|
@ -183,7 +181,7 @@ class HTTP::Cookie
|
|||
end
|
||||
@domain_name = DomainName.new(domain)
|
||||
end
|
||||
set_domain(@domain_name.hostname)
|
||||
@domain = @domain_name.hostname
|
||||
end
|
||||
|
||||
def expires=(t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue