Sha256: cf5277f609d72fe0edc5a2be42b52e409b96847d914202f2bdab4451aab2d686
Contents?: true
Size: 770 Bytes
Versions: 8
Compression:
Stored size: 770 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. module NewRelic class Control module Frameworks # Includes limited support for Merb class Merb < NewRelic::Control def env @env ||= ::Merb.env end def root ::Merb.root end def init_config options={} ::Merb::Plugins.add_rakefiles File.join(newrelic_root,"lib/tasks/all.rb") # Merb gives you a Merb::Plugins.config hash...feel free to put your stuff in your piece of it ::Merb::Plugins.config[:newrelic] = { :config => self } end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems