[ruby/json] Fix a typo

ruby/ruby#13636

https://github.com/ruby/json/commit/6fc2c4b6ab

Co-Authored-By: Tim Smith <tsmith84@gmail.com>
This commit is contained in:
Nobuyoshi NakadaandTim Smith authored and Hiroshi SHIBATA committed 2025-06-17 17:45:40 +09:00
1 parent 8992689118
commit e9d35671d2
1 file changed
+1 -1
+1 -1
View File
@@ -268,7 +268,7 @@ module JSON
# to string interpolation.
#
# Note: no validation is performed on the provided string. It is the
# responsability of the caller to ensure the string contains valid JSON.
# responsibility of the caller to ensure the string contains valid JSON.
Fragment = Struct.new(:json) do
def initialize(json)
unless string = String.try_convert(json)