File: platform.rb

package info (click to toggle)
ruby-commander 4.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 360 kB
  • sloc: ruby: 1,971; makefile: 9
file content (9 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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