Sha256: cfb44f63809c0d2fafb3b193dffd789459580702f89635d8cf9cebbad64c1354
Contents?: true
Size: 616 Bytes
Versions: 19
Compression:
Stored size: 616 Bytes
Contents
# This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true require 'new_relic/language_support' require 'new_relic/agent/vm/mri_vm' require 'new_relic/agent/vm/jruby_vm' module NewRelic module Agent module VM def self.snapshot vm.snapshot end def self.vm @vm ||= create_vm end def self.create_vm if NewRelic::LanguageSupport.jruby? JRubyVM.new else MriVM.new end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems