Merge pull request #16784 from reitermarkus/tap-sig-7

Add signature for `Tap#config`.
This commit is contained in:
Mike McQuaid 2024-03-01 13:46:20 +00:00 committed by GitHub
commit 56b3982e7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,6 +272,7 @@ class Tap
end end
# {TapConfig} of this {Tap}. # {TapConfig} of this {Tap}.
sig { returns(TapConfig) }
def config def config
@config ||= begin @config ||= begin
raise TapUnavailableError, name unless installed? raise TapUnavailableError, name unless installed?