Update RBI files for rubocop-performance.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
35075cbfee
commit
7ad1bea27e
@ -2720,13 +2720,19 @@ RuboCop::Cop::Performance::StartWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar
|
|||||||
class RuboCop::Cop::Performance::StringIdentifierArgument < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Performance::StringIdentifierArgument < ::RuboCop::Cop::Base
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#51
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#56
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#71
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#93
|
||||||
def argument_replacement(node, value); end
|
def argument_replacement(node, value); end
|
||||||
|
|
||||||
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#83
|
||||||
|
def register_offense(argument, argument_value); end
|
||||||
|
|
||||||
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#69
|
||||||
|
def string_arguments(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#32
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#32
|
||||||
@ -2735,13 +2741,19 @@ RuboCop::Cop::Performance::StringIdentifierArgument::COMMAND_METHODS = T.let(T.u
|
|||||||
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#30
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#30
|
||||||
RuboCop::Cop::Performance::StringIdentifierArgument::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Performance::StringIdentifierArgument::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#38
|
||||||
|
RuboCop::Cop::Performance::StringIdentifierArgument::MULTIPLE_ARGUMENTS_METHODS = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# NOTE: `attr` method is not included in this list as it can cause false positives in Nokogiri API.
|
# NOTE: `attr` method is not included in this list as it can cause false positives in Nokogiri API.
|
||||||
# And `attr` may not be used because `Style/Attr` registers an offense.
|
# And `attr` may not be used because `Style/Attr` registers an offense.
|
||||||
# https://github.com/rubocop/rubocop-performance/issues/278
|
# https://github.com/rubocop/rubocop-performance/issues/278
|
||||||
#
|
#
|
||||||
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#40
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#46
|
||||||
RuboCop::Cop::Performance::StringIdentifierArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Performance::StringIdentifierArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
|
# source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#37
|
||||||
|
RuboCop::Cop::Performance::StringIdentifierArgument::TWO_ARGUMENTS_METHOD = T.let(T.unsafe(nil), Symbol)
|
||||||
|
|
||||||
# Identifies unnecessary use of a regex where `String#include?` would suffice.
|
# Identifies unnecessary use of a regex where `String#include?` would suffice.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
Loading…
x
Reference in New Issue
Block a user