Try removing String monkey-patched types
This commit is contained in:
parent
cfdb0c2e4b
commit
8d788ec98c
@ -3415,55 +3415,55 @@ class Regexp::Token < ::Struct
|
||||
end
|
||||
end
|
||||
|
||||
class String
|
||||
include ::Comparable
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::String
|
||||
include ::MessagePack::CoreExt
|
||||
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
||||
# class String
|
||||
# include ::Comparable
|
||||
# include ::JSON::Ext::Generator::GeneratorMethods::String
|
||||
# include ::MessagePack::CoreExt
|
||||
# extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
||||
|
||||
def acts_like_string?; end
|
||||
def as_json(options = T.unsafe(nil)); end
|
||||
def at(position); end
|
||||
def blank?; end
|
||||
def camelcase(first_letter = T.unsafe(nil)); end
|
||||
def camelize(first_letter = T.unsafe(nil)); end
|
||||
def classify; end
|
||||
def constantize; end
|
||||
def dasherize; end
|
||||
def deconstantize; end
|
||||
def demodulize; end
|
||||
def first(limit = T.unsafe(nil)); end
|
||||
def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
|
||||
def from(position); end
|
||||
def html_safe; end
|
||||
def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
|
||||
def is_utf8?; end
|
||||
def last(limit = T.unsafe(nil)); end
|
||||
def mb_chars; 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 remove(*patterns); end
|
||||
def remove!(*patterns); end
|
||||
def safe_constantize; end
|
||||
def singularize(locale = T.unsafe(nil)); end
|
||||
def squish; end
|
||||
def squish!; end
|
||||
def tableize; end
|
||||
def titlecase(keep_id_suffix: T.unsafe(nil)); end
|
||||
def titleize(keep_id_suffix: T.unsafe(nil)); end
|
||||
def to(position); end
|
||||
def to_date; end
|
||||
def to_datetime; end
|
||||
def to_time(form = 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_words(words_count, options = T.unsafe(nil)); end
|
||||
def underscore; end
|
||||
def upcase_first; end
|
||||
end
|
||||
# def acts_like_string?; end
|
||||
# def as_json(options = T.unsafe(nil)); end
|
||||
# def at(position); end
|
||||
# def blank?; end
|
||||
# def camelcase(first_letter = T.unsafe(nil)); end
|
||||
# def camelize(first_letter = T.unsafe(nil)); end
|
||||
# def classify; end
|
||||
# def constantize; end
|
||||
# def dasherize; end
|
||||
# def deconstantize; end
|
||||
# def demodulize; end
|
||||
# def first(limit = T.unsafe(nil)); end
|
||||
# def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
|
||||
# def from(position); end
|
||||
# def html_safe; end
|
||||
# def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
|
||||
# def is_utf8?; end
|
||||
# def last(limit = T.unsafe(nil)); end
|
||||
# def mb_chars; 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 remove(*patterns); end
|
||||
# def remove!(*patterns); end
|
||||
# def safe_constantize; end
|
||||
# def singularize(locale = T.unsafe(nil)); end
|
||||
# def squish; end
|
||||
# def squish!; end
|
||||
# def tableize; end
|
||||
# def titlecase(keep_id_suffix: T.unsafe(nil)); end
|
||||
# def titleize(keep_id_suffix: T.unsafe(nil)); end
|
||||
# def to(position); end
|
||||
# def to_date; end
|
||||
# def to_datetime; end
|
||||
# def to_time(form = 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_words(words_count, options = T.unsafe(nil)); end
|
||||
# def underscore; end
|
||||
# def upcase_first; end
|
||||
# end
|
||||
|
||||
String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
|
||||
String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
|
||||
# String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
|
||||
# String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
|
||||
|
||||
class Struct
|
||||
include ::Enumerable
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user