Try removing String monkey-patched types

This commit is contained in:
Douglas Eichelberger 2023-02-24 09:48:48 -08:00
parent cfdb0c2e4b
commit 8d788ec98c

View File

@ -3415,55 +3415,55 @@ class Regexp::Token < ::Struct
end end
end end
class String # class String
include ::Comparable # include ::Comparable
include ::JSON::Ext::Generator::GeneratorMethods::String # include ::JSON::Ext::Generator::GeneratorMethods::String
include ::MessagePack::CoreExt # include ::MessagePack::CoreExt
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend # extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
def acts_like_string?; end # def acts_like_string?; end
def as_json(options = T.unsafe(nil)); end # def as_json(options = T.unsafe(nil)); end
def at(position); end # def at(position); end
def blank?; end # def blank?; end
def camelcase(first_letter = T.unsafe(nil)); end # def camelcase(first_letter = T.unsafe(nil)); end
def camelize(first_letter = T.unsafe(nil)); end # def camelize(first_letter = T.unsafe(nil)); end
def classify; end # def classify; end
def constantize; end # def constantize; end
def dasherize; end # def dasherize; end
def deconstantize; end # def deconstantize; end
def demodulize; end # def demodulize; end
def first(limit = T.unsafe(nil)); end # def first(limit = T.unsafe(nil)); end
def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end # def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
def from(position); end # def from(position); end
def html_safe; end # def html_safe; end
def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end # def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
def is_utf8?; end # def is_utf8?; end
def last(limit = T.unsafe(nil)); end # def last(limit = T.unsafe(nil)); end
def mb_chars; end # def mb_chars; end
def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end # def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end # def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end
def remove(*patterns); end # def remove(*patterns); end
def remove!(*patterns); end # def remove!(*patterns); end
def safe_constantize; end # def safe_constantize; end
def singularize(locale = T.unsafe(nil)); end # def singularize(locale = T.unsafe(nil)); end
def squish; end # def squish; end
def squish!; end # def squish!; end
def tableize; end # def tableize; end
def titlecase(keep_id_suffix: T.unsafe(nil)); end # def titlecase(keep_id_suffix: T.unsafe(nil)); end
def titleize(keep_id_suffix: T.unsafe(nil)); end # def titleize(keep_id_suffix: T.unsafe(nil)); end
def to(position); end # def to(position); end
def to_date; end # def to_date; end
def to_datetime; end # def to_datetime; end
def to_time(form = T.unsafe(nil)); end # def to_time(form = T.unsafe(nil)); end
def truncate(truncate_at, options = T.unsafe(nil)); end # def truncate(truncate_at, options = T.unsafe(nil)); end
def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end # def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end
def truncate_words(words_count, options = T.unsafe(nil)); end # def truncate_words(words_count, options = T.unsafe(nil)); end
def underscore; end # def underscore; end
def upcase_first; end # def upcase_first; end
end # end
String::BLANK_RE = T.let(T.unsafe(nil), Regexp) # String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map) # String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
class Struct class Struct
include ::Enumerable include ::Enumerable