Sha256: f89b41fa9de26fc781456ce77e288e767fc3e3a5bf3a27782913cf5f68b212ff
Contents?: true
Size: 1.7 KB
Versions: 3
Compression:
Stored size: 1.7 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>new (Reap::Task)</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/task.rb, line 104</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">sect</span> = <span class="ruby-identifier">master</span>[<span class="ruby-identifier">task_name</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sect</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>) <span class="ruby-identifier">sect</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">section_parameters_set</span>( <span class="ruby-identifier">s</span> ) <span class="ruby-identifier">init</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">section_parameters_set</span>( <span class="ruby-identifier">sect</span> <span class="ruby-operator">||</span> {} ) <span class="ruby-identifier">init</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reap-4.0 | web/rdoc/classes/Reap/Task.src/M000050.html |
reap-4.0.0 | web/rdoc/classes/Reap/Task.src/M000048.html |
reap-5.10.10 | web/rdoc/classes/Reap/Task.src/M000050.html |