Module: NewRelic::LocalEnvironment::Camping

Defined in:
lib/rpm_contrib/detection/camping.rb

Instance Method Summary collapse

Instance Method Details

#discover_dispatcherObject



14
15
16
17
18
19
# File 'lib/rpm_contrib/detection/camping.rb', line 14

def discover_dispatcher
  super
  if defined?(::Camping) && @dispatcher.nil?
    @dispatcher = 'camping'
  end
end

#discover_frameworkObject



6
7
8
9
10
11
12
13
# File 'lib/rpm_contrib/detection/camping.rb', line 6

def discover_framework
  if defined?(::Camping)
    puts "framework is camping"
    @framework = 'camping'
  else
    super
  end
end