module NewRelic::Thor

Public Class Methods

disabled?() click to toggle source
# File lib/newrelic/thor.rb, line 16
def disabled?
  !!::NewRelic::Control.instance['disable_thor']
end
start() click to toggle source
# File lib/newrelic/thor.rb, line 11
def start
  return if started?
  ::NewRelic::Agent.manual_start(:dispatcher => :thor)
  @started = true
end
started?() click to toggle source
# File lib/newrelic/thor.rb, line 8
def started?
  !!@started
end