Merge pull request #12052 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
This commit is contained in:
commit
7c47096193
@ -3110,6 +3110,143 @@ class DevelopmentTools
|
|||||||
extend ::T::Private::Methods::SingletonMethodHooks
|
extend ::T::Private::Methods::SingletonMethodHooks
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DidYouMean::ClassNameChecker
|
||||||
|
def class_name(); end
|
||||||
|
|
||||||
|
def class_names(); end
|
||||||
|
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def initialize(exception); end
|
||||||
|
|
||||||
|
def scopes(); end
|
||||||
|
end
|
||||||
|
|
||||||
|
module DidYouMean::Correctable
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def original_message(); end
|
||||||
|
|
||||||
|
def spell_checker(); end
|
||||||
|
|
||||||
|
def to_s(); end
|
||||||
|
end
|
||||||
|
|
||||||
|
module DidYouMean::Jaro
|
||||||
|
def self.distance(str1, str2); end
|
||||||
|
end
|
||||||
|
|
||||||
|
module DidYouMean::JaroWinkler
|
||||||
|
def self.distance(str1, str2); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::KeyErrorChecker
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def initialize(key_error); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::KeyErrorChecker
|
||||||
|
end
|
||||||
|
|
||||||
|
module DidYouMean::Levenshtein
|
||||||
|
def self.distance(str1, str2); end
|
||||||
|
|
||||||
|
def self.min3(a, b, c); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::MethodNameChecker
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def initialize(exception); end
|
||||||
|
|
||||||
|
def method_name(); end
|
||||||
|
|
||||||
|
def method_names(); end
|
||||||
|
|
||||||
|
def names_to_exclude(); end
|
||||||
|
|
||||||
|
def receiver(); end
|
||||||
|
RB_RESERVED_WORDS = ::T.let(nil, ::T.untyped)
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::NullChecker
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def initialize(*arg); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::PlainFormatter
|
||||||
|
def message_for(corrections); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::PlainFormatter
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::RequirePathChecker
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def initialize(exception); end
|
||||||
|
|
||||||
|
def path(); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::RequirePathChecker
|
||||||
|
def self.requireables(); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::TreeSpellChecker
|
||||||
|
def augment(); end
|
||||||
|
|
||||||
|
def correct(input); end
|
||||||
|
|
||||||
|
def dictionary(); end
|
||||||
|
|
||||||
|
def dictionary_without_leaves(); end
|
||||||
|
|
||||||
|
def dimensions(); end
|
||||||
|
|
||||||
|
def find_leaves(path); end
|
||||||
|
|
||||||
|
def initialize(dictionary:, separator: T.unsafe(nil), augment: T.unsafe(nil)); end
|
||||||
|
|
||||||
|
def plausible_dimensions(input); end
|
||||||
|
|
||||||
|
def possible_paths(states); end
|
||||||
|
|
||||||
|
def separator(); end
|
||||||
|
|
||||||
|
def tree_depth(); end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::TreeSpellChecker
|
||||||
|
end
|
||||||
|
|
||||||
|
class DidYouMean::VariableNameChecker
|
||||||
|
def corrections(); end
|
||||||
|
|
||||||
|
def cvar_names(); end
|
||||||
|
|
||||||
|
def initialize(exception); end
|
||||||
|
|
||||||
|
def ivar_names(); end
|
||||||
|
|
||||||
|
def lvar_names(); end
|
||||||
|
|
||||||
|
def method_names(); end
|
||||||
|
|
||||||
|
def name(); end
|
||||||
|
RB_RESERVED_WORDS = ::T.let(nil, ::T.untyped)
|
||||||
|
end
|
||||||
|
|
||||||
|
module DidYouMean
|
||||||
|
def self.correct_error(error_class, spell_checker); end
|
||||||
|
|
||||||
|
def self.formatter(); end
|
||||||
|
|
||||||
|
def self.formatter=(formatter); end
|
||||||
|
end
|
||||||
|
|
||||||
class Dir
|
class Dir
|
||||||
def children(); end
|
def children(); end
|
||||||
|
|
||||||
@ -5155,6 +5292,11 @@ class KeyError
|
|||||||
include ::DidYouMean::Correctable
|
include ::DidYouMean::Correctable
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module Language::Java
|
||||||
|
extend ::T::Private::Methods::MethodHooks
|
||||||
|
extend ::T::Private::Methods::SingletonMethodHooks
|
||||||
|
end
|
||||||
|
|
||||||
module Language::Node
|
module Language::Node
|
||||||
extend ::T::Private::Methods::MethodHooks
|
extend ::T::Private::Methods::MethodHooks
|
||||||
extend ::T::Private::Methods::SingletonMethodHooks
|
extend ::T::Private::Methods::SingletonMethodHooks
|
||||||
@ -5772,6 +5914,11 @@ class Object
|
|||||||
def self.yaml_tag(url); end
|
def self.yaml_tag(url); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module OnOS
|
||||||
|
extend ::T::Private::Methods::MethodHooks
|
||||||
|
extend ::T::Private::Methods::SingletonMethodHooks
|
||||||
|
end
|
||||||
|
|
||||||
class OpenSSL::ASN1::ASN1Data
|
class OpenSSL::ASN1::ASN1Data
|
||||||
def indefinite_length(); end
|
def indefinite_length(); end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user