From ff15e091ecc5bd88bd44d7c16e6a58cdd112cb0d Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Fri, 6 Aug 2021 14:03:18 +0100 Subject: [PATCH] Add RBI file for Formula delegate methods --- Library/Homebrew/formula.rbi | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Library/Homebrew/formula.rbi diff --git a/Library/Homebrew/formula.rbi b/Library/Homebrew/formula.rbi new file mode 100644 index 0000000000..360ab51722 --- /dev/null +++ b/Library/Homebrew/formula.rbi @@ -0,0 +1,54 @@ +# typed: strict + +# This file provides definitions for Forwardable#delegate, which is currently not supported by Sorbet. + +class Formula + def bottle_unneeded?; end + def bottle_disabled?; end + def bottle_disable_reason; end + def bottle_defined?; end + def bottle_tag?; end + def bottled?; end + def bottle_specification; end + def downloader; end + + def desc; end + def license; end + def homepage; end + def livecheck; end + def livecheckable?; end + def service?; end + def version; end + + def resource; end + def deps; end + def uses_from_macos_elements; end + def requirements; end + def cached_download; end + def clear_cache; end + def options; end + def deprecated_options; end + def deprecated_flags; end + def option_defined?; end + def compiler_failures; end + + def plist_manual; end + def plist_startup; end + def pour_bottle_check_unsatisfied_reason; end + def keg_only_reason; end + def deprecated?; end + def deprecation_date; end + def deprecation_reason; end + def disabled?; end + def disable_date; end + def disable_reason; end + + def pinnable?; end + def pinned?; end + def pinned_version; end + def pin; end + def unpin; end + + def env; end + def conflicts; end +end