aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/posts/2021-10-02/ruby-detect-running-implementation/index.html')
-rw-r--r--public/posts/2021-10-02/ruby-detect-running-implementation/index.html12
1 files changed, 6 insertions, 6 deletions
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 06b5eb5..03bae40 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
@@ -10,7 +10,7 @@
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Ruby】 自身を実行している処理系の種類を判定する | REPL: Rest-Eat-Program Loop</title>
<link rel="stylesheet" href="/style.css?h=17cf97a767ec5fb6e64967729f40f30a">
- <link rel="stylesheet" href="/hl.css?h=208c52e3b7c9db1cad782c5d30b4698f">
+ <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b">
</head>
<body class="single">
<header class="header">
@@ -75,10 +75,10 @@
上記ページの例から引用する:
</p>
- <pre class="highlight" language="shell-session" linenumbering="unnumbered"><code>$ ruby-1.9.1 -ve &apos;p RUBY_ENGINE&apos;
+ <pre class="highlight" language="shell-session" linenumbering="unnumbered"><code class="highlight">$ ruby-1.9.1 -ve &#x27;p RUBY_ENGINE&#x27;
ruby 1.9.1p0 (2009-03-04 revision 22762) [x86_64-linux]
&quot;ruby&quot;
-$ jruby -ve &apos;p RUBY_ENGINE&apos;
+$ jruby -ve &#x27;p RUBY_ENGINE&#x27;
jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
&quot;jruby&quot;</code></pre>
@@ -200,10 +200,10 @@ jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
<a href="https://github.com/mruby/mruby/blob/ed29d74bfd95362eaeb946fcf7e865d80346b62b/include/mruby/version.h#L32-L35">mruby 該当部分のソース</a>より引用:
</p>
- <pre class="highlight" language="c" linenumbering="unnumbered"><code>/*
+ <pre class="highlight" language="c" linenumbering="unnumbered"><code class="highlight"><span class="hljs-comment">/*
* Ruby engine.
-*/
-#define MRUBY_RUBY_ENGINE &quot;mruby&quot;</code></pre>
+*/</span>
+<span class="hljs-meta">#<span class="hljs-keyword">define</span> MRUBY_RUBY_ENGINE <span class="hljs-string">&quot;mruby&quot;</span></span></code></pre>
</div>
</article>
</main>