From e2d0028c1fbfb4cac59e20926e5aa0031e0ed607 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 14 May 2022 22:40:28 +0900 Subject: add changelog field to frontmatter --- .../ruby-detect-running-implementation/index.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'docs/posts/2021-10-02/ruby-detect-running-implementation/index.html') diff --git a/docs/posts/2021-10-02/ruby-detect-running-implementation/index.html b/docs/posts/2021-10-02/ruby-detect-running-implementation/index.html index 3b0986f..9ecf3cc 100644 --- a/docs/posts/2021-10-02/ruby-detect-running-implementation/index.html +++ b/docs/posts/2021-10-02/ruby-detect-running-implementation/index.html @@ -31,12 +31,21 @@

[Ruby] 自身を実行している処理系の種類を判定する

- +
-

この記事は Qiita から移植してきたものです。 +

+
+

更新履歴

+
    +
  • 2021-10-02: Qiita から移植
  • +
+
+

この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/74d7ffeeebc51b20d791


Ruby という言語には複数の実装があるが、それらをスクリプト上からどのようにして programmatically に見分ければよいだろうか。

@@ -102,7 +111,8 @@ jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java] * Ruby engine. */ #define MRUBY_RUBY_ENGINE "mruby" -
+ +