Sha256: 613cc99719fb14c6024ae272b81a4d7388700efda15286c83043a0437595e98e

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 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>validate (ProjectInfo)</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/reap/projectinfo.rb, line 30</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
    <span class="ruby-comment cmt"># required main parameters</span>
    <span class="ruby-comment cmt">#raise &quot;TITLE is a required configuration field&quot; unless info['title']</span>
    <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;NAME is a required piece of information&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">info</span>[<span class="ruby-value str">'name'</span>]
    <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;VERSION is a required piece of informatiomn&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">info</span>[<span class="ruby-value str">'version'</span>]
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reap-03.01 pub/www/rdoc/classes/ProjectInfo.src/M000058.html
reap-3.01 pub/www/rdoc/classes/ProjectInfo.src/M000058.html