aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-15 02:20:00 +0900
committernsfisis <nsfisis@gmail.com>2023-03-16 14:05:15 +0900
commit7b6319986030fc8a2fb5f851a431b5113e774f60 (patch)
tree522cb3837707660373ddaf43da26bc2bf1dbc683 /public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
parentbfac7998b0f7abd8dbde016535037cf1d3174336 (diff)
downloadblog.nsfisis.dev-7b6319986030fc8a2fb5f851a431b5113e774f60.tar.gz
blog.nsfisis.dev-7b6319986030fc8a2fb5f851a431b5113e774f60.tar.zst
blog.nsfisis.dev-7b6319986030fc8a2fb5f851a431b5113e774f60.zip
fix(content): fix XML notations
Diffstat (limited to 'public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html')
-rw-r--r--public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
index 3197780..dd6da27 100644
--- a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
+++ b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
@@ -110,10 +110,10 @@ end</code></pre>
</p>
<pre class="monospaced highlight"><code>20:1: syntax error, unexpected local variable or method, expecting `then&apos; or &apos;;&apos; or &apos;\n&apos;
- if true puts &apos;Hello, World!&apos; end
- ^~~~
- 20:1: syntax error, unexpected `end&apos;, expecting end-of-input
- ...f true puts &apos;Hello, World!&apos; end</code></pre>
+if true puts &apos;Hello, World!&apos; end
+ ^~~~
+20:1: syntax error, unexpected `end&apos;, expecting end-of-input
+...f true puts &apos;Hello, World!&apos; end</code></pre>
<p>
二つ目のメッセージは無視して一つ目を読むと、<code>then</code>か<code>;</code>か改行が来るはずのところ変数だかメソッドだかが現れたことによりエラーとなっているようだ。