Class: Protocol::HTTP::Header::Vary
- Defined in:
- lib/protocol/http/header/vary.rb
Overview
Header value which is split by newline charaters (e.g. cookies).
Constant Summary
Constants inherited from Split
Instance Method Summary collapse
- #<<(value) ⇒ Object
-
#initialize(value) ⇒ Vary
constructor
A new instance of Vary.
Methods inherited from Split
Constructor Details
#initialize(value) ⇒ Vary
Returns a new instance of Vary.
30 31 32 |
# File 'lib/protocol/http/header/vary.rb', line 30 def initialize(value) super(value.downcase) end |
Instance Method Details
#<<(value) ⇒ Object
34 35 36 |
# File 'lib/protocol/http/header/vary.rb', line 34 def << value super(value.downcase) end |