Sha256: a676aad01f67d92d713be76a8c80f02d60ef74e14a25368679095a9b2d87d5f3

Contents?: true

Size: 378 Bytes

Versions: 49

Compression:

Stored size: 378 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

module NewRelic
  module TestHelpers
    module RuntimeDetection
      def rubinius?
        defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
      end

      def jruby?
        defined?(JRuby)
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 2 rubygems

Version Path
newrelic_rpm-3.7.2.195 test/helpers/runtime_detection.rb
newrelic_rpm-3.7.2.192 test/helpers/runtime_detection.rb
newrelic_rpm-3.7.2.190.beta test/helpers/runtime_detection.rb
newrelic_rpm-3.7.1.188 test/helpers/runtime_detection.rb
newrelic_rpm-3.7.1.182 test/helpers/runtime_detection.rb
newrelic_rpm-3.7.1.180 test/helpers/runtime_detection.rb
newrelic_rpm-3.7.0.177 test/helpers/runtime_detection.rb
newrelic_rpm-3.7.0.174.beta test/helpers/runtime_detection.rb
newrelic_rpm-3.6.9.171 test/helpers/runtime_detection.rb