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

Inherits:
Split
  • Object
show all
Defined in:
lib/protocol/http/header/vary.rb

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.


29
30
31
# File 'lib/protocol/http/header/vary.rb', line 29

def initialize(value)
	super(value.downcase)
end

Instance Method Details

#<<(value) ⇒ Object


33
34
35
# File 'lib/protocol/http/header/vary.rb', line 33

def << value
	super(value.downcase)
end