Module: Test::Helper::Formula Private

Defined in:
sorbet/rbi/shims/rspec.rbi

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

formula(...) { ... } helper blocks can be inferred as this helper module in typed specs; declare Formula DSL methods to satisfy static analysis.

Instance Method Summary collapse

Instance Method Details

#url(val = "", specs = {}) ⇒ String

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

  • val (String) (defaults to: "")
  • specs (Hash{Symbol => T.anything}) (defaults to: {})

Returns:



147
# File 'sorbet/rbi/shims/rspec.rbi', line 147

def url(val = "", specs = {}); end