Method: System::Ruby.jruby?
- Defined in:
- lib/system/ruby.rb
.jruby? ⇒ TrueClass, FalseClass
Check if Ruby interpreter is JRuby. Delegates to System::Ruby.jruby? for backwards compatibility.
247 248 249 |
# File 'lib/system/ruby.rb', line 247 def jruby? java? ? engine =~ /jruby/ : false end |