1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/vendor/github.com/sourcegraph/syntaxhighlight/testdata/simple.rb.html

13 lines
563 B
HTML
Raw Normal View History

2017-10-03 21:43:55 +03:00
<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>