Sha256: 2cf513c7a1caa81f10857a67acc0c28abcbc06fc97c4d11d5b222247563a80e9
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 KB
Contents
<?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> <head> <title>add_fixture (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 21</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_fixture</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">fixture_map</span> ) <span class="ruby-identifier">row</span> = [] <span class="ruby-ivar">@columns</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">column</span><span class="ruby-operator">|</span> <span class="ruby-identifier">row</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">get_value_from_maps</span>( <span class="ruby-identifier">column</span>, <span class="ruby-identifier">fixture_map</span> ) <span class="ruby-comment cmt">#(fixture_map[column.to_sym] or fixture_map[column.to_s]) </span> <span class="ruby-keyword kw">end</span> <span class="ruby-identifier">rows</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">row</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marjoree-0.0.9 | ./html/classes/ExpectedResultSet.src/M000006.html |