Module: Platform

Extended by:
Platform
Included in:
Platform
Defined in:
lib/core_ext/platform.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#jruby?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/core_ext/platform.rb', line 4

def jruby?
  RUBY_PLATFORM =~ /java/
end