From 7b6319986030fc8a2fb5f851a431b5113e774f60 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 15 Mar 2023 02:20:00 +0900 Subject: fix(content): fix XML notations --- public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html') 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

20:1: syntax error, unexpected local variable or method, expecting `then' or ';' or '\n'
-  if true puts 'Hello, World!' end
-  ^~~~
-  20:1: syntax error, unexpected `end', expecting end-of-input
-  ...f true puts 'Hello, World!' end
+if true puts 'Hello, World!' end + ^~~~ +20:1: syntax error, unexpected `end', expecting end-of-input +...f true puts 'Hello, World!' end

二つ目のメッセージは無視して一つ目を読むと、then;か改行が来るはずのところ変数だかメソッドだかが現れたことによりエラーとなっているようだ。 -- cgit v1.2.3-70-g09d2