summaryrefslogtreecommitdiff
path: root/ext/json/lib
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-01-20 11:39:25 +0100
committerJean Boussier <[email protected]>2025-01-20 14:20:55 +0100
commit2b4b7bdb10dc8671bbc9e757f05bb74355891062 ()
tree9dd4a2db0d017948f1d361a48811e7a57938869d /ext/json/lib
parente8676cada82ed9947502b416eaa948258a62d7b9 (diff)
[ruby/json] Fix JSON::Fragment#to_json signature
https://.com/ruby/json/commit/f8817fe56c
Notes: Merged: https://.com/ruby/ruby/pull/12602
-rw-r--r--ext/json/lib/json/common.rb2
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ module JSON
class MissingUnicodeSupport < JSONError; end
Fragment = Struct.new(:json) do
- def to_json(state = nil)
json
end
end