From 67d4c9359644ef087b9c5b71bd0bb357c0a1030f Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Tue, 24 Dec 2024 16:26:06 +0900 Subject: [PATCH] Suppress "literal string will be frozen" warnings --- lib/groonga/client.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/groonga/client.rb b/lib/groonga/client.rb index 51ffa65..2f83a13 100644 --- a/lib/groonga/client.rb +++ b/lib/groonga/client.rb @@ -1,5 +1,5 @@ # Copyright (C) 2013 Haruka Yoshihara -# Copyright (C) 2013-2017 Kouhei Sutou +# Copyright (C) 2013-2024 Sutou Kouhei # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -153,7 +153,7 @@ def close(&block) def load(parameters, &block) values = parameters[:values] if values.is_a?(Array) - json = "[" + json = +"[" values.each_with_index do |value, i| if i.zero? json << "\n"