Sha256: 38b85bd85fa209fdd8f46e4893d6e290e74926a33bca8fbe536bd136dfec3b64
Contents?: true
Size: 590 Bytes
Versions: 30
Compression:
Stored size: 590 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. 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
30 entries across 30 versions & 1 rubygems