From 36ef8dcf0c87d646970af855db53e5a7f6c51af2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 17 May 2025 01:50:38 +0900 Subject: feat(blog/nuldoc): allow codeblock to have line number --- .../posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vhosts/blog/public/posts/2025-04-20') diff --git a/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html b/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html index 3829184c..201cf9c1 100644 --- a/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html +++ b/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html @@ -14,7 +14,7 @@ RubyKaigi 2025 の TRICK で入賞した|REPL: Rest-Eat-Program Loop - +
@@ -143,7 +143,7 @@

改めて quine について説明する。Quine とは、自身のソースコードを出力するようなプログラムである。Ruby では様々な方法で quine を書くことができるが、この作品で使っている基本形は以下のようなものである。

-
+
eval $s=<<'EOS'
 print "eval $s=<<'EOS'\n"
 print $s
-- 
cgit v1.2.3-70-g09d2