12 lines
270 B
HTML
12 lines
270 B
HTML
<h2>Comments</h2>
|
|
<pre><code># This is a comment</code></pre>
|
|
|
|
<h2>Strings</h2>
|
|
<pre><code>"foo \"bar\" baz"
|
|
'foo \'bar\' baz'</code></pre>
|
|
|
|
<h2>Regex</h2>
|
|
<pre><code>regular_expression = /abc/</code></pre>
|
|
|
|
<h2>Symbols</h2>
|
|
<pre><code>string_symbol = :rip </code></pre> |