Sha256: 96411bd7db90fc265604f1009549447a743f90de42a7ada1d752b7e12376a19d
Contents?: true
Size: 595 Bytes
Versions: 42
Compression:
Stored size: 595 Bytes
Contents
# encoding: utf-8 require 'one_apm/support/language_support' require 'one_apm/support/vm/mri_vm' require 'one_apm/support/vm/jruby_vm' require 'one_apm/support/vm/rubinius_vm' module OneApm module Support module VM def self.snapshot vm.snapshot end def self.vm @vm ||= create_vm end def self.create_vm if OneApm::LanguageSupport.using_engine?('jruby') JRubyVM.new elsif OneApm::LanguageSupport.using_engine?('rbx') RubiniusVM.new else MriVM.new end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
oneapm_rpm-1.1.1 | lib/one_apm/support/vm.rb |
oneapm_rpm-1.1.0 | lib/one_apm/support/vm.rb |