Update RBI files for json.

Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
BrewTestBot 2023-12-04 17:19:07 +00:00
parent 6eb8d51a0c
commit dad6e913e6
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 18 additions and 102 deletions

View File

@ -1,102 +0,0 @@
# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `json` gem.
# Please instead update this file by running `bin/tapioca gem json`.
class Class < ::Module
def json_creatable?; end
end
module JSON
private
def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), strict: T.unsafe(nil)); end
def fast_generate(obj, opts = T.unsafe(nil)); end
def fast_unparse(obj, opts = T.unsafe(nil)); end
def generate(obj, opts = T.unsafe(nil)); end
def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def load_file(filespec, opts = T.unsafe(nil)); end
def load_file!(filespec, opts = T.unsafe(nil)); end
def parse(source, opts = T.unsafe(nil)); end
def parse!(source, opts = T.unsafe(nil)); end
def pretty_generate(obj, opts = T.unsafe(nil)); end
def pretty_unparse(obj, opts = T.unsafe(nil)); end
def recurse_proc(result, &proc); end
def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def unparse(obj, opts = T.unsafe(nil)); end
class << self
def [](object, opts = T.unsafe(nil)); end
def create_fast_state; end
def create_id; end
def create_id=(new_value); end
def create_pretty_state; end
def deep_const_get(path); end
def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), strict: T.unsafe(nil)); end
def dump_default_options; end
def dump_default_options=(_arg0); end
def fast_generate(obj, opts = T.unsafe(nil)); end
def fast_unparse(obj, opts = T.unsafe(nil)); end
def generate(obj, opts = T.unsafe(nil)); end
def generator; end
def generator=(generator); end
def iconv(to, from, string); end
def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def load_default_options; end
def load_default_options=(_arg0); end
def load_file(filespec, opts = T.unsafe(nil)); end
def load_file!(filespec, opts = T.unsafe(nil)); end
def parse(source, opts = T.unsafe(nil)); end
def parse!(source, opts = T.unsafe(nil)); end
def parser; end
def parser=(parser); end
def pretty_generate(obj, opts = T.unsafe(nil)); end
def pretty_unparse(obj, opts = T.unsafe(nil)); end
def recurse_proc(result, &proc); end
def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def state; end
def state=(_arg0); end
def unparse(obj, opts = T.unsafe(nil)); end
end
end
JSON::CREATE_ID_TLS_KEY = T.let(T.unsafe(nil), String)
JSON::DEFAULT_CREATE_ID = T.let(T.unsafe(nil), String)
class JSON::GenericObject < ::OpenStruct
def as_json(*_arg0); end
def to_hash; end
def to_json(*a); end
def |(other); end
class << self
def dump(obj, *args); end
def from_hash(object); end
def json_creatable=(_arg0); end
def json_creatable?; end
def json_create(data); end
def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end
end
end
class JSON::JSONError < ::StandardError
class << self
def wrap(exception); end
end
end
JSON::NOT_SET = T.let(T.unsafe(nil), Object)
JSON::Parser = JSON::Ext::Parser
JSON::State = JSON::Ext::Generator::State
JSON::UnparserError = JSON::GeneratorError
module Kernel
extend ::Forwardable
private
def JSON(object, *args); end
def j(*objs); end
def jj(*objs); end
end

View File

@ -3336,6 +3336,8 @@ end
class Class class Class
def any_instance(); end def any_instance(); end
def json_creatable?(); end
end end
class Complex class Complex
@ -5734,6 +5736,22 @@ class JSON::Ext::Parser
def initialize(*arg); end def initialize(*arg); end
end end
JSON::Parser = JSON::Ext::Parser
JSON::State = JSON::Ext::Generator::State
JSON::UnparserError = JSON::GeneratorError
module JSON
def self.create_fast_state(); end
def self.create_pretty_state(); end
def self.load_file(filespec, opts=T.unsafe(nil)); end
def self.load_file!(filespec, opts=T.unsafe(nil)); end
end
class JSONSchemer::Result class JSONSchemer::Result
def self.keyword_init?(); end def self.keyword_init?(); end
end end