module Anyway::Tracing
Public Class Methods
current_trace_source()
click to toggle source
Override this method so that we get the real caller location, not the forwardable one from the ‘extend Forwardable` in the PactBroker::Configuration
class.
# File lib/pact_broker/config/runtime_configuration.rb, line 16 def current_trace_source source_stack.last || accessor_source(caller_locations(2, 2).find { | location | !location.path.end_with?("forwardable.rb") }) end