aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html')
-rw-r--r--docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
index e4baed6..707a6b5 100644
--- a/docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
+++ b/docs/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
@@ -31,13 +31,22 @@
<article class="post-single">
<header class="post-header">
<h1 class="post-title">[Ruby] then キーワードと case in</h1>
- <div class="post-meta">2021-10-02</div>
+ <div class="post-meta">
+ Posted on <time>2021-10-02</time>
+ </div>
<ul class="post-tags">
<li><a href="https://blog.nsfisis.dev/tags/ruby">ruby</a></li>
<li><a href="https://blog.nsfisis.dev/tags/ruby3">ruby3</a></li>
</ul>
</header>
- <div class="post-content"><p>この記事は Qiita から移植してきたものです。
+ <div class="post-content">
+ <section>
+ <h1>更新履歴</h1>
+ <ul>
+ <li>2021-10-02: Qiita から移植</li>
+ </ul>
+ </section>
+ <p>この記事は Qiita から移植してきたものです。
元 URL: <a href="https://qiita.com/nsfisis/items/787a8cf888a304497223">https://qiita.com/nsfisis/items/787a8cf888a304497223</a></p>
<hr>
<h1 id="tl-dr">TL; DR</h1>
@@ -172,7 +181,8 @@ C系の <code>if</code> 後に来る <code>(</code>/<code>)</code> や、Python
<li>3.0 で入る予定の <code>case</code> - <code>in</code> でも <code>then</code> 等が必要になる</li>
<li>Ruby の構文を正確に知るには (現状) <code>parse.y</code> を直接読めばよい</li>
</ul>
-</div>
+
+ </div>
</article></main>
<footer class="footer">
<span>&copy; 2022 <a href="https://blog.nsfisis.dev">REPL: Rest-Eat-Program Loop</a></span>