module RubyEngine
Constants
- VERSION
Public Class Methods
Source
# File lib/ruby_engine.rb, line 9 def is?(what) what === @interpreter end
Also aliased as: is
Source
# File lib/ruby_engine.rb, line 26 def jruby? RubyEngine.is? 'jruby' end
Also aliased as: java?
Source
# File lib/ruby_engine.rb, line 19 def mri? RubyEngine.is? 'ruby' end
Source
# File lib/ruby_engine.rb, line 31 def rubinius? RubyEngine.is? 'rbx' end
Also aliased as: rbx?
Source
# File lib/ruby_engine.rb, line 36 def truffleruby? RubyEngine.is? 'truffleruby' end
Also aliased as: truffle?