Skip to content

Commit

Permalink
Merge pull request #364 from mvz/fix-unfreeze-offense
Browse files Browse the repository at this point in the history
Autocorrect Style/RedundantInterpolationUnfreeze offense
  • Loading branch information
mvz authored Sep 8, 2024
2 parents 346763c + cfe4ffa commit aead7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gir_ffi/builders/method_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit aead7c9

Please sign in to comment.