Skip to content

Commit 2b4b7bd

Browse files
committed
[ruby/json] Fix JSON::Fragment#to_json signature
ruby/json@f8817fe56c
1 parent e8676ca commit 2b4b7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/lib/json/common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def detailed_message(...)
168168
class MissingUnicodeSupport < JSONError; end
169169

170170
Fragment = Struct.new(:json) do
171-
def to_json(state = nil)
171+
def to_json(state = nil, *)
172172
json
173173
end
174174
end

0 commit comments

Comments
 (0)