./html/classes/ExpectedResultSet.src/M000004.html in marjoree-0.0.1 vs ./html/classes/ExpectedResultSet.src/M000004.html in marjoree-0.0.9
- old
+ new
@@ -3,16 +3,16 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>row_hashes (ExpectedResultSet)</title>
+ <title>row_hash (ExpectedResultSet)</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/expected_result_set.rb, line 24</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">row_hashes</span>
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">rows</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> <span class="ruby-identifier">to_hash</span>(<span class="ruby-identifier">row</span>) }
- <span class="ruby-keyword kw">end</span></pre>
+ <pre><span class="ruby-comment cmt"># File lib/expected_result_set.rb, line 13</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">row_hash</span>(<span class="ruby-identifier">index</span>)
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">to_hash</span>( <span class="ruby-ivar">@rows</span>[<span class="ruby-identifier">index</span>] )
+ <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file