관리-도구
편집 파일: SessionHash.html
<?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: Rack::Session::Abstract::SessionHash</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">Rack::Session::Abstract::SessionHash</td> </tr> <tr class="top-aligned-row"> <td><strong>In:</strong></td> <td> <a href="../../../../files/lib/rack/session/abstract/id_rb.html"> lib/rack/session/abstract/id.rb </a> <br /> </td> </tr> <tr class="top-aligned-row"> <td><strong>Parent:</strong></td> <td> Object </td> </tr> </table> </div> <!-- banner header --> <div id="bodyContent"> <div id="contextContent"> <div id="description"> <p> <a href="SessionHash.html">SessionHash</a> is responsible to lazily load the session from <a href="SessionHash.html#M000150">store</a>. </p> </div> </div> <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000144">[]</a> <a href="#M000149">[]=</a> <a href="#M000151">clear</a> <a href="#M000157">delete</a> <a href="#M000152">destroy</a> <a href="#M000143">each</a> <a href="#M000161">empty?</a> <a href="#M000159">exists?</a> <a href="#M000145">fetch</a> <a href="#M000137">find</a> <a href="#M000146">has_key?</a> <a href="#M000141">id</a> <a href="#M000148">include?</a> <a href="#M000158">inspect</a> <a href="#M000147">key?</a> <a href="#M000162">keys</a> <a href="#M000160">loaded?</a> <a href="#M000155">merge!</a> <a href="#M000140">new</a> <a href="#M000142">options</a> <a href="#M000156">replace</a> <a href="#M000138">set</a> <a href="#M000139">set_options</a> <a href="#M000150">store</a> <a href="#M000153">to_hash</a> <a href="#M000154">update</a> <a href="#M000163">values</a> </div> </div> </div> <!-- if includes --> <div id="includes"> <h3 class="section-bar">Included Modules</h3> <div id="includes-list"> <span class="include-name">Enumerable</span> </div> </div> <div id="section"> <div id="attribute-list"> <h3 class="section-bar">Attributes</h3> <div class="name-list"> <table> <tr class="top-aligned-row context-row"> <td class="context-item-name">id</td> <td class="context-item-value"> [W] </td> <td class="context-item-desc"></td> </tr> </table> </div> </div> <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Class methods</h3> <div id="method-M000137" class="method-detail"> <a name="M000137"></a> <div class="method-heading"> <a href="SessionHash.src/M000137.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000137.html');return false;"> <span class="method-name">find</span><span class="method-args">(env)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000140" class="method-detail"> <a name="M000140"></a> <div class="method-heading"> <a href="SessionHash.src/M000140.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000140.html');return false;"> <span class="method-name">new</span><span class="method-args">(store, env)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000138" class="method-detail"> <a name="M000138"></a> <div class="method-heading"> <a href="SessionHash.src/M000138.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000138.html');return false;"> <span class="method-name">set</span><span class="method-args">(env, session)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000139" class="method-detail"> <a name="M000139"></a> <div class="method-heading"> <a href="SessionHash.src/M000139.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000139.html');return false;"> <span class="method-name">set_options</span><span class="method-args">(env, options)</span> </a> </div> <div class="method-description"> </div> </div> <h3 class="section-bar">Public Instance methods</h3> <div id="method-M000144" class="method-detail"> <a name="M000144"></a> <div class="method-heading"> <a href="SessionHash.src/M000144.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000144.html');return false;"> <span class="method-name">[]</span><span class="method-args">(key)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000149" class="method-detail"> <a name="M000149"></a> <div class="method-heading"> <a href="SessionHash.src/M000149.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000149.html');return false;"> <span class="method-name">[]=</span><span class="method-args">(key, value)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000151" class="method-detail"> <a name="M000151"></a> <div class="method-heading"> <a href="SessionHash.src/M000151.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000151.html');return false;"> <span class="method-name">clear</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000157" class="method-detail"> <a name="M000157"></a> <div class="method-heading"> <a href="SessionHash.src/M000157.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000157.html');return false;"> <span class="method-name">delete</span><span class="method-args">(key)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000152" class="method-detail"> <a name="M000152"></a> <div class="method-heading"> <a href="SessionHash.src/M000152.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000152.html');return false;"> <span class="method-name">destroy</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000143" class="method-detail"> <a name="M000143"></a> <div class="method-heading"> <a href="SessionHash.src/M000143.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000143.html');return false;"> <span class="method-name">each</span><span class="method-args">(&block)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000161" class="method-detail"> <a name="M000161"></a> <div class="method-heading"> <a href="SessionHash.src/M000161.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000161.html');return false;"> <span class="method-name">empty?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000159" class="method-detail"> <a name="M000159"></a> <div class="method-heading"> <a href="SessionHash.src/M000159.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000159.html');return false;"> <span class="method-name">exists?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000145" class="method-detail"> <a name="M000145"></a> <div class="method-heading"> <span class="method-name">fetch</span><span class="method-args">(key)</span> </div> <div class="method-description"> <p> Alias for #[] </p> </div> </div> <div id="method-M000146" class="method-detail"> <a name="M000146"></a> <div class="method-heading"> <a href="SessionHash.src/M000146.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000146.html');return false;"> <span class="method-name">has_key?</span><span class="method-args">(key)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000141" class="method-detail"> <a name="M000141"></a> <div class="method-heading"> <a href="SessionHash.src/M000141.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000141.html');return false;"> <span class="method-name">id</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000148" class="method-detail"> <a name="M000148"></a> <div class="method-heading"> <span class="method-name">include?</span><span class="method-args">(key)</span> </div> <div class="method-description"> <p> Alias for has_key? </p> </div> </div> <div id="method-M000158" class="method-detail"> <a name="M000158"></a> <div class="method-heading"> <a href="SessionHash.src/M000158.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000158.html');return false;"> <span class="method-name">inspect</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000147" class="method-detail"> <a name="M000147"></a> <div class="method-heading"> <span class="method-name">key?</span><span class="method-args">(key)</span> </div> <div class="method-description"> <p> Alias for has_key? </p> </div> </div> <div id="method-M000162" class="method-detail"> <a name="M000162"></a> <div class="method-heading"> <a href="SessionHash.src/M000162.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000162.html');return false;"> <span class="method-name">keys</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000160" class="method-detail"> <a name="M000160"></a> <div class="method-heading"> <a href="SessionHash.src/M000160.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000160.html');return false;"> <span class="method-name">loaded?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000155" class="method-detail"> <a name="M000155"></a> <div class="method-heading"> <span class="method-name">merge!</span><span class="method-args">(hash)</span> </div> <div class="method-description"> <p> Alias for <a href="SessionHash.html#M000154">update</a> </p> </div> </div> <div id="method-M000142" class="method-detail"> <a name="M000142"></a> <div class="method-heading"> <a href="SessionHash.src/M000142.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000142.html');return false;"> <span class="method-name">options</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000156" class="method-detail"> <a name="M000156"></a> <div class="method-heading"> <a href="SessionHash.src/M000156.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000156.html');return false;"> <span class="method-name">replace</span><span class="method-args">(hash)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000150" class="method-detail"> <a name="M000150"></a> <div class="method-heading"> <span class="method-name">store</span><span class="method-args">(key, value)</span> </div> <div class="method-description"> <p> Alias for #[]= </p> </div> </div> <div id="method-M000153" class="method-detail"> <a name="M000153"></a> <div class="method-heading"> <a href="SessionHash.src/M000153.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000153.html');return false;"> <span class="method-name">to_hash</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000154" class="method-detail"> <a name="M000154"></a> <div class="method-heading"> <a href="SessionHash.src/M000154.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000154.html');return false;"> <span class="method-name">update</span><span class="method-args">(hash)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000163" class="method-detail"> <a name="M000163"></a> <div class="method-heading"> <a href="SessionHash.src/M000163.html" target="Code" class="method-signature" onclick="popupCode('SessionHash.src/M000163.html');return false;"> <span class="method-name">values</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>