Method: Ed::Env.jruby?

Defined in:
lib/ed/env.rb

.jruby?Boolean

Returns Are we on JRuby?.

Returns:

  • (Boolean)

    Are we on JRuby?



19
20
21
# File 'lib/ed/env.rb', line 19

def jruby?
  RUBY_PLATFORM == 'java'
end