Update RBI files for activesupport.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
88ff002d3c
commit
d2ac5ab6ba
@ -2193,6 +2193,7 @@ class ActiveSupport::SafeBuffer < ::String
|
||||
def <<(value); end
|
||||
def [](*args); end
|
||||
def []=(*args); end
|
||||
def bytesplice(*args, value); end
|
||||
def capitalize(*args, &block); end
|
||||
def capitalize!(*args); end
|
||||
def chomp(*args, &block); end
|
||||
@ -3415,6 +3416,56 @@ 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
|
||||
|
||||
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)
|
||||
|
||||
class Struct
|
||||
include ::Enumerable
|
||||
|
||||
@ -8178,80 +8178,18 @@ module Stdenv
|
||||
end
|
||||
|
||||
class String
|
||||
def acts_like_string?(); end
|
||||
|
||||
def at(position); 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 exclude?(string); end
|
||||
|
||||
def fast_xs(); 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 indent(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end
|
||||
|
||||
def indent!(amount, indent_string=T.unsafe(nil), indent_empty_lines=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 shellescape(); end
|
||||
|
||||
def shellsplit(); 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_nfc(); end
|
||||
|
||||
def to_nfd(); end
|
||||
@ -8259,18 +8197,6 @@ class String
|
||||
def to_nfkc(); end
|
||||
|
||||
def to_nfkd(); 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
|
||||
|
||||
class StringScanner
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user