mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
13 lines
563 B
HTML
13 lines
563 B
HTML
|
<span class="kwd">class</span> <span class="typ">A</span>
|
||
|
|
||
|
<span class="kwd">end</span>
|
||
|
|
||
|
<span class="kwd">module</span> <span class="typ">B</span>
|
||
|
|
||
|
<span class="kwd">end</span>
|
||
|
|
||
|
<span class="kwd">def</span> <span class="pln">foo</span><span class="pun">(</span><span class="pln">a</span><span class="pun">,</span> <span class="pln">b</span><span class="pun">)</span>
|
||
|
<span class="pln">puts</span> <span class="pln">a</span>
|
||
|
<span class="typ">A</span><span class="pun">:</span><span class="pun">:</span><span class="typ">B</span>
|
||
|
<span class="kwd">end</span>
|