Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
50cb6dc139
commit
c1c35b5473
13
Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_if_needed.rbi
generated
Normal file
13
Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_if_needed.rbi
generated
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `Homebrew::Cmd::UpdateIfNeeded`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::UpdateIfNeeded`.
|
||||||
|
|
||||||
|
|
||||||
|
class Homebrew::Cmd::UpdateIfNeeded
|
||||||
|
sig { returns(Homebrew::Cmd::UpdateIfNeeded::Args) }
|
||||||
|
def args; end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Homebrew::Cmd::UpdateIfNeeded::Args < Homebrew::CLI::Args; end
|
||||||
@ -42275,13 +42275,13 @@ RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String)
|
|||||||
#
|
#
|
||||||
# It provides three `EnforcedStyle` options:
|
# It provides three `EnforcedStyle` options:
|
||||||
#
|
#
|
||||||
# 1. `allow_named_parameter` (default) ... Detects only numbered block parameters.
|
# 1. `only_numbered_parameters` (default) ... Detects only numbered block parameters.
|
||||||
# 2. `always` ... Always uses the `it` block parameter.
|
# 2. `always` ... Always uses the `it` block parameter.
|
||||||
# 3. `disallow` ... Disallows the `it` block parameter.
|
# 3. `disallow` ... Disallows the `it` block parameter.
|
||||||
#
|
#
|
||||||
# A single numbered parameter is detected when `allow_named_parameter` or `always`.
|
# A single numbered parameter is detected when `only_numbered_parameters` or `always`.
|
||||||
#
|
#
|
||||||
# @example EnforcedStyle: allow_named_parameter (default)
|
# @example EnforcedStyle: only_numbered_parameters (default)
|
||||||
# # bad
|
# # bad
|
||||||
# block { do_something(_1) }
|
# block { do_something(_1) }
|
||||||
#
|
#
|
||||||
@ -47592,15 +47592,15 @@ RuboCop::Cop::Style::QuotedSymbols::MSG_DOUBLE = T.let(T.unsafe(nil), String)
|
|||||||
# source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#39
|
# source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#39
|
||||||
RuboCop::Cop::Style::QuotedSymbols::MSG_SINGLE = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::QuotedSymbols::MSG_SINGLE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# Checks the args passed to `fail` and `raise`. For exploded
|
# Checks the args passed to `fail` and `raise`.
|
||||||
# style (default), it recommends passing the exception class and message
|
|
||||||
# to `raise`, rather than construct an instance of the error. It will
|
|
||||||
# still allow passing just a message, or the construction of an error
|
|
||||||
# with more than one argument.
|
|
||||||
#
|
#
|
||||||
# The exploded style works identically, but with the addition that it
|
# Exploded style (default) enforces passing the exception class and message
|
||||||
# will also suggest constructing error objects when the exception is
|
# arguments separately, rather than constructing an instance of the error.
|
||||||
# passed multiple arguments.
|
#
|
||||||
|
# Compact style enforces constructing an error instance.
|
||||||
|
#
|
||||||
|
# Both styles allow passing just a message, or an error instance when there is more
|
||||||
|
# than one argument.
|
||||||
#
|
#
|
||||||
# The exploded style has an `AllowedCompactTypes` configuration
|
# The exploded style has an `AllowedCompactTypes` configuration
|
||||||
# option that takes an `Array` of exception name Strings.
|
# option that takes an `Array` of exception name Strings.
|
||||||
Loading…
x
Reference in New Issue
Block a user