.rubocop.yml: add respond_to_missing? to OptionalBooleanParameter exemptions

This fixes a CI failure on `master`.[^1]

[^1]: https://github.com/Homebrew/brew/actions/runs/10469292764/job/28991992536
This commit is contained in:
Carlo Cabrera 2024-08-20 18:27:07 +08:00
parent 75ab63bedc
commit cb9b469dfc
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -408,9 +408,10 @@ Style/OpenStructUse:
Style/OptionalBooleanParameter: Style/OptionalBooleanParameter:
AllowedMethods: AllowedMethods:
# This is an override of a core library method # These are overrides of core library methods
# see https://ruby-doc.org/3.3.4/Object.html#method-i-respond_to-3F # see https://ruby-doc.org/3.3.4/Object.html#method-i-respond_to-3F
- respond_to? - respond_to?
- respond_to_missing?
# Rescuing `StandardError` is an understood default. # Rescuing `StandardError` is an understood default.
Style/RescueStandardError: Style/RescueStandardError: