# File lib/new_relic/agent/method_tracer.rb, line 190 def validate_options(method_name, options) unless options.is_a?(Hash) raise TypeError.new("Error adding method tracer to #{method_name}: provided options must be a Hash") end check_for_illegal_keys!(method_name, options) options = DEFAULT_SETTINGS.merge(options) check_for_push_scope_and_metric(options) options end