Sha256: 0475fa1f2e5ab73c3b78607badf7a7243efe3b312c3b0abfcd3af273b7a1204f

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

Stored size: 1.86 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>setup (TC_Config)</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 test/test_config.rb, line 9</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
        <span class="ruby-ivar">@conffile</span> = <span class="ruby-constant">TestTools</span>.<span class="ruby-identifier">build_config</span>(<span class="ruby-identifier">binding</span>, <span class="ruby-value str">'dummy'</span>)
        <span class="ruby-ivar">@options_hash</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@conffile</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">f</span>) }
        <span class="ruby-ivar">@options</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@conffile</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">Autobuild</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">f</span>, <span class="ruby-constant">Options</span>.<span class="ruby-identifier">default</span>) }
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
autobuild-0.5.1 doc/classes/TC_Config.src/M000001.html
autobuild-0.6 doc/classes/TC_Config.src/M000006.html