Module: Commander::Platform

Defined in:
lib/commander/platform.rb

Class Method Summary collapse

Class Method Details

.jruby?Boolean

Returns:

  • (Boolean)

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

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