From 98682c7a8792e7e79e487fea5024d25cee5aa310 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 15 Mar 2023 01:36:13 +0900 Subject: fix(nuldoc):
 contained unnecessary whitespaces inside it

---
 .../2021-10-02/ruby-detect-running-implementation/index.html | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

(limited to 'public/posts/2021-10-02/ruby-detect-running-implementation/index.html')

diff --git a/public/posts/2021-10-02/ruby-detect-running-implementation/index.html b/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
index ed7ccd5..1163674 100644
--- a/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
+++ b/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
@@ -65,14 +65,12 @@
             上記ページの例から引用する:
           

-
-            $ ruby-1.9.1 -ve 'p RUBY_ENGINE'
+          
$ ruby-1.9.1 -ve 'p RUBY_ENGINE'
 ruby 1.9.1p0 (2009-03-04 revision 22762) [x86_64-linux]
 "ruby"
 $ jruby -ve 'p RUBY_ENGINE'
 jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
-"jruby"
-          
+"jruby"

それぞれの処理系がどのような値を返すかだが、stack overflow に良い質問と回答があった。 @@ -192,12 +190,10 @@ jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java] mruby 該当部分のソースより引用:

-
-            /*
+          
/*
 * Ruby engine.
 */
-#define MRUBY_RUBY_ENGINE  "mruby"
-          
+#define MRUBY_RUBY_ENGINE "mruby"
-- cgit v1.2.3-70-g09d2