Mini Shell
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Class: HeaderHash</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript">
// <![CDATA[
function popupCode( url ) {
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}
function toggleCode( id ) {
if ( document.getElementById )
elem = document.getElementById( id );
else if ( document.all )
elem = eval( "document.all." + id );
else
return false;
elemStyle = elem.style;
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
elemStyle.display = "none"
}
return true;
}
// Make codeblocks hidden by default
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
// ]]>
</script>
</head>
<body>
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
<td><strong>Class</strong></td>
<td class="class-name-in-header">HeaderHash</td>
</tr>
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
<a href="../files/lib/rack/utils_rb.html">
lib/rack/utils.rb
</a>
<br />
</td>
</tr>
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
Hash
</td>
</tr>
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
<div id="contextContent">
<div id="description">
<p>
A case-insensitive Hash that preserves the original case of a header when
set.
</p>
</div>
</div>
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
<a href="#M000027">[]</a>
<a href="#M000028">[]=</a>
<a href="#M000029">delete</a>
<a href="#M000025">each</a>
<a href="#M000031">has_key?</a>
<a href="#M000030">include?</a>
<a href="#M000033">key?</a>
<a href="#M000032">member?</a>
<a href="#M000035">merge</a>
<a href="#M000034">merge!</a>
<a href="#M000023">new</a>
<a href="#M000024">new</a>
<a href="#M000036">replace</a>
<a href="#M000026">to_hash</a>
</div>
</div>
</div>
<!-- if includes -->
<div id="section">
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
<div id="method-M000023" class="method-detail">
<a name="M000023"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000023.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000023.html');return false;">
<span class="method-name">new</span><span class="method-args">(hash={})</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000024" class="method-detail">
<a name="M000024"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000024.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000024.html');return false;">
<span class="method-name">new</span><span class="method-args">(hash={})</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<h3 class="section-bar">Public Instance methods</h3>
<div id="method-M000027" class="method-detail">
<a name="M000027"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000027.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000027.html');return false;">
<span class="method-name">[]</span><span class="method-args">(k)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000028" class="method-detail">
<a name="M000028"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000028.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000028.html');return false;">
<span class="method-name">[]=</span><span class="method-args">(k, v)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000029" class="method-detail">
<a name="M000029"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000029.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000029.html');return false;">
<span class="method-name">delete</span><span class="method-args">(k)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000025" class="method-detail">
<a name="M000025"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000025.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000025.html');return false;">
<span class="method-name">each</span><span class="method-args">() {|k, v.respond_to?(:to_ary ? v.to_ary.join("\n") : v)| ...}</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000031" class="method-detail">
<a name="M000031"></a>
<div class="method-heading">
<span class="method-name">has_key?</span><span class="method-args">(k)</span>
</div>
<div class="method-description">
<p>
Alias for include?
</p>
</div>
</div>
<div id="method-M000030" class="method-detail">
<a name="M000030"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000030.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000030.html');return false;">
<span class="method-name">include?</span><span class="method-args">(k)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000033" class="method-detail">
<a name="M000033"></a>
<div class="method-heading">
<span class="method-name">key?</span><span class="method-args">(k)</span>
</div>
<div class="method-description">
<p>
Alias for include?
</p>
</div>
</div>
<div id="method-M000032" class="method-detail">
<a name="M000032"></a>
<div class="method-heading">
<span class="method-name">member?</span><span class="method-args">(k)</span>
</div>
<div class="method-description">
<p>
Alias for include?
</p>
</div>
</div>
<div id="method-M000035" class="method-detail">
<a name="M000035"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000035.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000035.html');return false;">
<span class="method-name">merge</span><span class="method-args">(other)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000034" class="method-detail">
<a name="M000034"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000034.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000034.html');return false;">
<span class="method-name">merge!</span><span class="method-args">(other)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000036" class="method-detail">
<a name="M000036"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000036.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000036.html');return false;">
<span class="method-name">replace</span><span class="method-args">(other)</span>
</a>
</div>
<div class="method-description">
</div>
</div>
<div id="method-M000026" class="method-detail">
<a name="M000026"></a>
<div class="method-heading">
<a href="HeaderHash.src/M000026.html" target="Code" class="method-signature"
onclick="popupCode('HeaderHash.src/M000026.html');return false;">
<span class="method-name">to_hash</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
</div>
</div>
</div>
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
</html>
Zerion Mini Shell 1.0