Class: Xf::TraceKeyValue
Overview
Traces based on a key and a value matching. Only overrides the ‘match?` method to redefine a matched node.
Instance Method Summary collapse
-
#initialize(trace_key, trace_value) ⇒ TraceKeyValue
constructor
A new instance of TraceKeyValue.
Methods inherited from Trace
#get, #get_value, #set, #set!, #set_value, #set_value!
Constructor Details
#initialize(trace_key, trace_value) ⇒ TraceKeyValue
Returns a new instance of TraceKeyValue.
9 10 11 12 |
# File 'lib/xf/trace_key_value.rb', line 9 def initialize(trace_key, trace_value) @trace_key = trace_key @trace_value = trace_value end |