Sha256: 0cabed4601e60ca9952750978c412bd6399786cd0ed0ac92e4e3b43abaddd1bb

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 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>tasks (ReapCommand)</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/bin/reap.rb, line 65</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tasks</span>
    <span class="ruby-constant">Reap</span>.<span class="ruby-identifier">initialize_all</span>
    <span class="ruby-identifier">puts</span>
    <span class="ruby-constant">Reap</span>.<span class="ruby-identifier">tasks</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span>,<span class="ruby-identifier">task</span><span class="ruby-operator">|</span>
      <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;  #{name}&quot;</span>.<span class="ruby-identifier">ljust</span>(<span class="ruby-value">20</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot;#{task.task_desc}&quot;</span>
    <span class="ruby-keyword kw">end</span>
    <span class="ruby-identifier">puts</span>
    <span class="ruby-identifier">exit</span> <span class="ruby-value">0</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/ReapCommand.src/M000016.html
reap-5.10.10 web/rdoc/classes/ReapCommand.src/M000016.html