Method: Commander::Platform.jruby?

Defined in:
lib/commander/platform.rb

.jruby?Boolean

Returns:

  • (Boolean)


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

def self.jruby?
  defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'jruby')
end