Sha256: 3a2d8181e02f0ef78847bbe2a592b7f87dadc358b7c11f3961a35f016a455588

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 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>init (Reap::TestTask)</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/reap2/test-task.rb, line 14</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
    <span class="ruby-ivar">@libs</span>    = ( <span class="ruby-identifier">section</span>[<span class="ruby-value str">&quot;libs&quot;</span>]  <span class="ruby-operator">||</span> [<span class="ruby-value str">'lib'</span>] ).<span class="ruby-identifier">join</span>(<span class="ruby-value str">':'</span>)
    <span class="ruby-ivar">@files</span>   = <span class="ruby-identifier">section</span>[<span class="ruby-value str">&quot;files&quot;</span>]   <span class="ruby-operator">||</span> [ <span class="ruby-value str">'test/**/tc*.rb'</span>, <span class="ruby-value str">'test/**/test*.rb'</span>, <span class="ruby-value str">'test/**/*test.rb'</span> ]
    <span class="ruby-ivar">@options</span> = <span class="ruby-identifier">section</span>[<span class="ruby-value str">'options'</span>]

    <span class="ruby-comment cmt"># interal use</span>
    <span class="ruby-ivar">@results</span> = <span class="ruby-constant">TestResults</span>.<span class="ruby-identifier">new</span>
    <span class="ruby-ivar">@errors</span> = []
    <span class="ruby-ivar">@failures</span> = []
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-0.6.1 pub/www/rdoc/classes/Reap/TestTask.src/M000007.html