enabled? -> boolRuby 3.3 から Ruby 4.0 で削除[permalink][rdoc][edit]-
--rjitオプション付きで起動したかどうかを返します。
例--rjit-disableオプションを併用した場合も true を返します。# ruby --rjit -e 'p RubyVM::RJIT.enabled?' # => true # ruby -e 'p RubyVM::RJIT.enabled?' # => false p RubyVM::RJIT.enabled?[SEE_ALSO] RubyVM::RJIT.enable