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