html/classes/MethodicHash.html in eymiha_util-0.1.3 vs html/classes/MethodicHash.html in eymiha_util-0.1.4

- old
+ new

@@ -79,11 +79,11 @@ <div id="contextContent"> <div id="description"> <p> The <a href="MethodicHash.html">MethodicHash</a> is some <a -href="MethodicHash.html#M000005">method_missing</a> magic that uses method +href="MethodicHash.html#M000006">method_missing</a> magic that uses method names as hash keys, so hash assignment and lookup appear to be attribute writing and reading. For instance, if </p> <pre> mh = MethodicHash.new @@ -124,11 +124,12 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000004">[]</a>&nbsp;&nbsp; - <a href="#M000005">method_missing</a>&nbsp;&nbsp; + <a href="#M000005">delete</a>&nbsp;&nbsp; + <a href="#M000006">method_missing</a>&nbsp;&nbsp; </div> </div> </div> @@ -171,9 +172,30 @@ <a name="M000005"></a> <div class="method-heading"> <a href="MethodicHash.src/M000005.html" target="Code" class="method-signature" onclick="popupCode('MethodicHash.src/M000005.html');return false;"> + <span class="method-name">delete</span><span class="method-args">(key,&amp;block)</span> + </a> + </div> + + <div class="method-description"> + <p> +Deletes and returns the key-value pairs from hash whose keys are equal to +key.to_s or key.to_sym. If both key.to_s and key.to_sym are in the hash, +then both values are returned in an Array, respectively. If neither key is +found, the <a href="MethodicHash.html#M000005">delete</a> is deferred to +the Hash. +</p> + </div> + </div> + + <div id="method-M000006" class="method-detail"> + <a name="M000006"></a> + + <div class="method-heading"> + <a href="MethodicHash.src/M000006.html" target="Code" class="method-signature" + onclick="popupCode('MethodicHash.src/M000006.html');return false;"> <span class="method-name">method_missing</span><span class="method-args">(method,*args)</span> </a> </div> <div class="method-description"> \ No newline at end of file