From 96ecac1e245aaac4484f69a731d2af4328760a8e Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Thu, 27 Mar 2025 10:36:31 +0100 Subject: [PATCH] [ruby/json] Get rid of JSON::NOT_SET https://github.com/ruby/json/commit/760d922265 --- ext/json/lib/json/common.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index 24f124baaf..30fdbe1db2 100644 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -5,9 +5,6 @@ require 'json/version' module JSON autoload :GenericObject, 'json/generic_object' - NOT_SET = Object.new.freeze - private_constant :NOT_SET - class << self # :call-seq: # JSON[object] -> new_array or new_string