# File lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb, line 61 def method_name(payload_object) if payload_object.respond_to?(:method_name) payload_object.method_name else # early versions of Delayed Job override Object#method with the method name payload_object.method end end