From cfe4ffa2edf6e2b955b4e0ca47a5ec11ed7e6abc Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sun, 8 Sep 2024 20:56:15 +0200 Subject: [PATCH] Autocorrect Style/RedundantInterpolationUnfreeze offense --- lib/gir_ffi/builders/method_template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gir_ffi/builders/method_template.rb b/lib/gir_ffi/builders/method_template.rb index e3862044..6fd78617 100644 --- a/lib/gir_ffi/builders/method_template.rb +++ b/lib/gir_ffi/builders/method_template.rb @@ -18,7 +18,7 @@ def initialize(builder, argument_builder_collection) end def method_definition - code = +"def #{qualified_method_name}" + code = "def #{qualified_method_name}" code << "(#{method_arguments.join(", ")})" if method_arguments.any? method_lines.each { |line| code << "\n #{line}" } code << "\nend\n"