Class

Rack::Utils::HeaderHash

Inheritance
< Hash < Object

A case-insensitive Hash that preserves the original case of a header when set.

Methods

Class

Visibility Signature
public new (hash={})

Instance

Visibility Signature
public [] (k)
public []= (k, v)
public delete (k)
public has_key? (k)
public include? (k)
public key? (k)
public member? (k)
public merge (other)
public merge! (other)
public to_hash ()

Class Method Detail

new(hash={})

Instance Method Detail

[](k)

[]=(k, v)

delete(k)

has_key?(k)

Alias for include?

include?(k)

key?(k)

Alias for include?

member?(k)

Alias for include?

merge(other)

merge!(other)

to_hash()