class OneApm::Probe::Frameworks::Ruby

Public Instance Methods

env() click to toggle source
# File lib/one_apm/frameworks/ruby.rb, line 8
def env
  @env ||= ENV['ONEAPM_ENV'] ||
           ENV['RUBY_ENV']   ||
           ENV['RAILS_ENV']  ||
           ENV['RACK_ENV']   ||
           'development'
end
init_config(options={}) click to toggle source
# File lib/one_apm/frameworks/ruby.rb, line 20
def init_config(options={})
end
root() click to toggle source
# File lib/one_apm/frameworks/ruby.rb, line 16
def root
  @root ||= ENV['APP_ROOT'] || '.'
end