Sha256: 17601987c034ce86ef90dfa38e1b3610cd62b2a494a86ca630c7506d1f70d3d5

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 35</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-4.0 web/rdoc/classes/ProjectInfo.src/M000097.html
reap-5.10.10 web/rdoc/classes/ProjectInfo.src/M000097.html