File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
instrumentation/action_mailer/test/opentelemetry/instrumentation/action_mailer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 116116 end
117117 end
118118
119- def with_configuration ( values , &block )
119+ def with_configuration ( values , &)
120120 original_config = instrumentation . instance_variable_get ( :@config )
121121 modified_config = original_config . merge ( values )
122122 instrumentation . instance_variable_set ( :@config , modified_config )
@@ -126,14 +126,14 @@ def with_configuration(values, &block)
126126 instrumentation . instance_variable_set ( :@config , original_config )
127127 end
128128
129- def subscribing_to_deliver ( &block )
129+ def subscribing_to_deliver ( &)
130130 subscription = OpenTelemetry ::Instrumentation ::ActionMailer ::Railtie . subscribe_to_deliver
131131 yield
132132 ensure
133133 ActiveSupport ::Notifications . unsubscribe ( subscription )
134134 end
135135
136- def subscribing_to_process ( &block )
136+ def subscribing_to_process ( &)
137137 subscription = OpenTelemetry ::Instrumentation ::ActionMailer ::Railtie . subscribe_to_process
138138 yield
139139 ensure
You can’t perform that action at this time.
0 commit comments