lib/anyway/config.rb in anyway_config-2.0.5 vs lib/anyway/config.rb in anyway_config-2.0.6
- old
+ new
@@ -198,10 +198,10 @@
def define_config_accessor(*names)
names.each do |name|
accessors_module.module_eval <<~RUBY, __FILE__, __LINE__ + 1
def #{name}=(val)
- __trace__&.record_value(val, \"#{name}\", Tracing.current_trace_source)
+ __trace__&.record_value(val, \"#{name}\", **Tracing.current_trace_source)
# DEPRECATED: instance variable set will be removed in 2.1
@#{name} = values[:#{name}] = val
end
def #{name}