[flori/json] Autoload GenericObject to avoid require ostruct warning in Ruby 3.4
https://github.com/flori/json/commit/b507f9e404
This commit is contained in:
parent
0930231361
commit
066bd28cff
@ -1,8 +1,9 @@
|
||||
#frozen_string_literal: false
|
||||
require 'json/version'
|
||||
require 'json/generic_object'
|
||||
|
||||
module JSON
|
||||
autoload :GenericObject, 'json/generic_object'
|
||||
|
||||
NOT_SET = Object.new.freeze
|
||||
private_constant :NOT_SET
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user