update site
This commit is contained in:
parent
39a4c00fc2
commit
84cff4945e
@ -104,6 +104,8 @@ file is read to retrieve data.</p>
|
||||
</td>
|
||||
<td class=code>
|
||||
<div class='highlight'><pre><span class="k">class</span> <span class="nc">Rocco</span>
|
||||
<span class="no">VERSION</span> <span class="o">=</span> <span class="s1">'0.1'</span>
|
||||
|
||||
<span class="k">def</span> <span class="nf">initialize</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="o">&</span><span class="n">block</span><span class="p">)</span>
|
||||
<span class="vi">@file</span> <span class="o">=</span> <span class="n">filename</span>
|
||||
<span class="vi">@data</span> <span class="o">=</span>
|
||||
@ -181,8 +183,6 @@ respectively.</p>
|
||||
<span class="n">docs</span><span class="p">,</span> <span class="n">code</span> <span class="o">=</span> <span class="o">[]</span><span class="p">,</span> <span class="o">[]</span>
|
||||
<span class="k">end</span>
|
||||
<span class="n">docs</span> <span class="o"><<</span> <span class="n">line</span>
|
||||
<span class="k">when</span><span class="sr"> /^\s*$/</span>
|
||||
<span class="n">code</span> <span class="o"><<</span> <span class="n">line</span>
|
||||
<span class="k">else</span>
|
||||
<span class="n">code</span> <span class="o"><<</span> <span class="n">line</span>
|
||||
<span class="k">end</span>
|
||||
|
Loading…
Reference in New Issue
Block a user