Update RBI files for rubocop-performance.

Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
This commit is contained in:
BrewTestBot 2022-09-12 18:19:09 +00:00
parent dd88369208
commit 20d2bda937
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 9 additions and 2 deletions

View File

@ -6,6 +6,7 @@
module RuboCop; end
module RuboCop::Cop; end
RuboCop::Cop::IgnoredMethods = RuboCop::Cop::AllowedMethods
RuboCop::Cop::IgnoredPattern = RuboCop::Cop::AllowedPattern
module RuboCop::Cop::Performance; end
@ -494,6 +495,7 @@ class RuboCop::Cop::Performance::RedundantMatch < ::RuboCop::Cop::Base
private
def autocorrect(corrector, node); end
def autocorrectable?(node); end
end
RuboCop::Cop::Performance::RedundantMatch::MSG = T.let(T.unsafe(nil), String)
@ -552,10 +554,11 @@ class RuboCop::Cop::Performance::RedundantSortBlock < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
def on_block(node); end
def on_numblock(node); end
private
def message(var_a, var_b); end
def register_offense(send, node); end
end
RuboCop::Cop::Performance::RedundantSortBlock::MSG = T.let(T.unsafe(nil), String)
@ -704,10 +707,11 @@ class RuboCop::Cop::Performance::SortReverse < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
def on_block(node); end
def on_numblock(node); end
private
def message(var_a, var_b); end
def register_offense(send, node); end
end
RuboCop::Cop::Performance::SortReverse::MSG = T.let(T.unsafe(nil), String)
@ -834,6 +838,7 @@ class RuboCop::Cop::Performance::TimesMap < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
def on_block(node); end
def on_numblock(node); end
def on_send(node); end
def times_map_call(param0 = T.unsafe(nil)); end
@ -892,6 +897,7 @@ module RuboCop::Cop::SortBlock
def replaceable_body?(param0 = T.unsafe(nil), param1, param2); end
def sort_with_block?(param0 = T.unsafe(nil)); end
def sort_with_numblock?(param0 = T.unsafe(nil)); end
private

View File

@ -3556,6 +3556,7 @@ class Object
HOMEBREW_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_REPOSITORY = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_TEMP = ::T.let(nil, ::T.untyped)
HOMEBREW_DOCS_WWW = ::T.let(nil, ::T.untyped)
HOMEBREW_GITHUB_PACKAGES_AUTH = ::T.let(nil, ::T.untyped)
HOMEBREW_LIBRARY = ::T.let(nil, ::T.untyped)
HOMEBREW_LIBRARY_PATH = ::T.let(nil, ::T.untyped)