Remove unused code.

This commit is contained in:
Akinori MUSHA 2013-04-17 01:14:22 +09:00
parent 0d5e666642
commit a1cfe6bb70

View file

@ -152,13 +152,6 @@ class HTTP::Cookie::Scanner < StringScanner
end
def scan_set_cookie
unless block_given?
scan_set_cookie { |*values|
return values
}
return
end
# RFC 6265 4.1.1 & 5.2
until eos?
start = pos
@ -221,13 +214,6 @@ class HTTP::Cookie::Scanner < StringScanner
end
def scan_cookie
unless block_given?
scan_cookie { |*values|
return values
}
return
end
# RFC 6265 4.1.1 & 5.4
until eos?
skip_wsp