Class: Protocol::HTTP::Header::Vary

Inherits:
Split
  • Object
show all
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

Split::COMMA

Instance Method Summary collapse

Methods inherited from Split

#to_s

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