# File lib/new_relic/agent/method_tracer.rb, line 270 def code_to_eval(method_name, metric_name_code, options) options = validate_options(method_name, options) if options[:push_scope] method_with_push_scope(method_name, metric_name_code, options) else method_without_push_scope(method_name, metric_name_code, options) end end