brew/Library/Homebrew/extend/git_repo_path.rbi
Douglas Eichelberger 429f23dcc6 Create GitRepoPath
2023-04-15 19:35:12 -07:00

18 lines
373 B
Ruby

# typed: strict
class GitRepoPath < SimpleDelegator
include Kernel
# This is a workaround to enable `alias pathname __getobj__`
# @see https://github.com/sorbet/sorbet/issues/2378#issuecomment-569474238
sig { returns(Pathname) }
def __getobj__; end
def /(_arg0); end
def parent; end
def abv; end
def rmtree; end
def cd; end
def directory?; end
end