class NewRelic::Control::Frameworks::Ruby

A control used when no framework is detected - the default.

Public Instance Methods

env() click to toggle source
# File lib/new_relic/control/frameworks/ruby.rb, line 9
def env
  @env ||= ENV['NEW_RELIC_ENV'] || ENV['RUBY_ENV'] ||
           ENV['RAILS_ENV']     || ENV['RACK_ENV'] || 'development'
end
init_config(options={}) click to toggle source
# File lib/new_relic/control/frameworks/ruby.rb, line 18
def init_config(options={})
end
root() click to toggle source
# File lib/new_relic/control/frameworks/ruby.rb, line 14
def root
  @root ||= ENV['APP_ROOT'] || '.'
end