From cb9b469dfcba1b44cd31a2cebb853d7f7136aee4 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:27:07 +0800 Subject: [PATCH] .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 --- Library/.rubocop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index ea8067d398..8b7eed3186 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -408,9 +408,10 @@ Style/OpenStructUse: Style/OptionalBooleanParameter: 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 - respond_to? + - respond_to_missing? # Rescuing `StandardError` is an understood default. Style/RescueStandardError: