doc/main-rdoc/classes/OrderedHash.src/M000224.html in facets-0.7.1 vs doc/main-rdoc/classes/OrderedHash.src/M000224.html in facets-0.7.2
- old
+ new
@@ -3,17 +3,17 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>shift (OrderedHash)</title>
+ <title>== (OrderedHash)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/facet/orderedhash.rb, line 174</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shift</span>
- <span class="ruby-identifier">key</span> = <span class="ruby-ivar">@order</span>.<span class="ruby-identifier">first</span>
- <span class="ruby-identifier">key</span> <span class="ruby-value">? </span>[<span class="ruby-identifier">key</span>,<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>)] <span class="ruby-operator">:</span> <span class="ruby-keyword kw">super</span>
+ <pre><span class="ruby-comment cmt"># File lib/facet/orderedhash.rb, line 106</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">hsh2</span>
+ <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@order</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">hsh2</span>.<span class="ruby-identifier">order</span>
+ <span class="ruby-keyword kw">super</span> <span class="ruby-identifier">hsh2</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file