diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 6175f9abc9b40..1a6214b47aae8 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -553,9 +553,7 @@ def synced_with_other_formulae? # ```ruby # resource("additional_files").stage { bin.install "my/extra/tool" } # ``` - def resource(name) - active_spec.resource(name) - end + delegate resource: :active_spec # An old name for the formula. sig { returns(T.nilable(String)) }