Class: Protocol::HTTP::Headers::Multiple

Inherits:
Array
  • Object
show all
Defined in:
lib/protocol/http/headers.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Multiple

Returns a new instance of Multiple.



41
42
43
44
45
# File 'lib/protocol/http/headers.rb', line 41

def initialize(value)
	super()
	
	self << value
end

Instance Method Details

#to_sObject



47
48
49
# File 'lib/protocol/http/headers.rb', line 47

def to_s
	join("\n")
end