[ruby/json] use . over :: for consistency

https://github.com/ruby/json/commit/f5c1b8c45d
This commit is contained in:
GrantBirki 2025-05-17 11:35:55 -07:00 committed by Hiroshi SHIBATA
parent dc69bebde7
commit 9b25023fe4
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -1072,7 +1072,7 @@ module ::Kernel
end
objs.each do |obj|
puts JSON::generate(obj, :allow_nan => true, :max_nesting => false)
puts JSON.generate(obj, :allow_nan => true, :max_nesting => false)
end
nil
end
@ -1087,7 +1087,7 @@ module ::Kernel
end
objs.each do |obj|
puts JSON::pretty_generate(obj, :allow_nan => true, :max_nesting => false)
puts JSON.pretty_generate(obj, :allow_nan => true, :max_nesting => false)
end
nil
end