Skip to content

Commit

Permalink
Suppress "literal string will be frozen" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 24, 2024
1 parent f75966c commit 67d4c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/groonga/client.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2013 Haruka Yoshihara <[email protected]>
# Copyright (C) 2013-2017 Kouhei Sutou <[email protected]>
# Copyright (C) 2013-2024 Sutou Kouhei <[email protected]>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 67d4c93

Please sign in to comment.