Class: Homebrew::API::FormulaStruct Private
- Defined in:
- api/formula_struct.rb,
sorbet/rbi/dsl/homebrew/api/formula_struct.rbi
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Constant Summary collapse
- PREDICATES =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
[ :bottle, :deprecated, :disabled, :head, :keg_only, :no_autobump_message, :pour_bottle, :service, :service_run, :service_name, :stable, ].freeze
- DependencyArgs =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
T.type_alias do T.any( # Formula name: "foo" String, # Formula name and dependency type: { "foo" => :build } T::Hash[String, Symbol], ) end
- RequirementArgs =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
T.type_alias do T.any( # Requirement name: :macos Symbol, # Requirement name and other info: { macos: :build } T::Hash[Symbol, T::Array[T.anything]], ) end
- UsesFromMacOSArgs =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
T.type_alias do [ T.any( # Formula name: "foo" String, # Formula name and dependency type: { "foo" => :build } # Formula name, dependency type, and version bounds: { "foo" => :build, since: :catalina } T::Hash[T.any(String, Symbol), T.any(Symbol, T::Array[Symbol])], ), # If the first argument is only a name, this argument contains the version bounds: { since: :catalina } T::Hash[Symbol, Symbol], ] end
Instance Attribute Summary collapse
-
#aliases ⇒ Array<String>
readonly
private
Changes to this struct must be mirrored in Homebrew::API::Formula.generate_formula_struct_hash.
-
#bottle ⇒ Hash{String => T.anything}
readonly
private
Returns the value of prop
bottle. -
#bottle_checksums ⇒ Array<Hash{String => T.anything}>
readonly
private
Returns the value of prop
bottle_checksums. -
#bottle_rebuild ⇒ Integer
readonly
private
Returns the value of prop
bottle_rebuild. -
#caveats ⇒ String?
readonly
private
Returns the value of prop
caveats. -
#conflicts ⇒ Array<Array<(String, Hash{Symbol => String})>>
readonly
private
Returns the value of prop
conflicts. -
#deprecate_args ⇒ Hash{Symbol => String, Symbol, nil}
readonly
private
Returns the value of prop
deprecate_args. -
#desc ⇒ String
readonly
private
Returns the value of prop
desc. -
#disable_args ⇒ Hash{Symbol => String, Symbol, nil}
readonly
private
Returns the value of prop
disable_args. -
#head_dependency_hash ⇒ Hash{String => Array<String>}
readonly
private
Returns the value of prop
head_dependency_hash. -
#head_url_args ⇒ Array<(String, Hash{Symbol => T.anything})>
readonly
private
Returns the value of prop
head_url_args. -
#homepage ⇒ String
readonly
private
Returns the value of prop
homepage. -
#keg_only_args ⇒ Array<String, Symbol>
readonly
private
Returns the value of prop
keg_only_args. -
#license ⇒ SPDX::LicenseExpression
readonly
private
Returns the value of prop
license. -
#link_overwrite_paths ⇒ Array<String>
readonly
private
Returns the value of prop
link_overwrite_paths. -
#no_autobump_args ⇒ Hash{Symbol => String, Symbol}
readonly
private
Returns the value of prop
no_autobump_args. -
#oldnames ⇒ Array<String>
readonly
private
Returns the value of prop
oldnames. -
#post_install_defined ⇒ Boolean
readonly
private
Returns the value of prop
post_install_defined. -
#pour_bottle_args ⇒ Hash{Symbol => Symbol}
readonly
private
Returns the value of prop
pour_bottle_args. -
#requirements_array ⇒ Array<Hash{String => T.untyped}>
readonly
private
Returns the value of prop
requirements_array. -
#revision ⇒ Integer
readonly
private
Returns the value of prop
revision. -
#ruby_source_checksum ⇒ String
readonly
private
Returns the value of prop
ruby_source_checksum. -
#ruby_source_path ⇒ String
readonly
private
Returns the value of prop
ruby_source_path. -
#service_args ⇒ Array<Array<(Symbol, BasicObject)>>
readonly
private
Returns the value of prop
service_args. -
#service_name_args ⇒ Hash{Symbol => String}
readonly
private
Returns the value of prop
service_name_args. -
#service_run_args ⇒ Array<Homebrew::Service::RunParam>
readonly
private
Returns the value of prop
service_run_args. -
#service_run_kwargs ⇒ Hash{Symbol => Homebrew::Service::RunParam}
readonly
private
Returns the value of prop
service_run_kwargs. -
#stable_checksum ⇒ String?
readonly
private
Returns the value of prop
stable_checksum. -
#stable_dependency_hash ⇒ Hash{String => Array<String>}
readonly
private
Returns the value of prop
stable_dependency_hash. -
#stable_url_args ⇒ Array<(String, Hash{Symbol => T.anything})>
readonly
private
Returns the value of prop
stable_url_args. -
#stable_version ⇒ String
readonly
private
Returns the value of prop
stable_version. -
#tap_git_head ⇒ String
readonly
private
Returns the value of prop
tap_git_head. -
#version_scheme ⇒ Integer
readonly
private
Returns the value of prop
version_scheme. -
#versioned_formulae ⇒ Array<String>
readonly
private
Returns the value of prop
versioned_formulae.
Instance Method Summary collapse
- #bottle? ⇒ Boolean private
- #deprecated? ⇒ Boolean private
- #disabled? ⇒ Boolean private
- #head? ⇒ Boolean private
- #head_dependencies ⇒ Array<DependencyArgs, RequirementArgs> private
- #head_uses_from_macos ⇒ Array<UsesFromMacOSArgs> private
- #initialize(aliases: [], bottle: {}, bottle_checksums: [], bottle_rebuild: 0, caveats: nil, conflicts: [], deprecate_args: {}, desc:, disable_args: {}, head_url_args:, homepage:, keg_only_args: [], license:, link_overwrite_paths: [], no_autobump_args: {}, oldnames: [], post_install_defined: true, pour_bottle_args: {}, revision: 0, ruby_source_checksum:, ruby_source_path:, service_args: [], service_name_args: {}, service_run_args: [], service_run_kwargs: {}, stable_checksum: nil, stable_url_args:, stable_version:, tap_git_head:, version_scheme: 0, versioned_formulae: [], stable_dependency_hash: {}, head_dependency_hash: {}, requirements_array: []) ⇒ void constructor
- #keg_only? ⇒ Boolean private
- #no_autobump_message? ⇒ Boolean private
- #pour_bottle? ⇒ Boolean private
- #service? ⇒ Boolean private
- #service_name? ⇒ Boolean private
- #service_run? ⇒ Boolean private
- #stable? ⇒ Boolean private
- #stable_dependencies ⇒ Array<DependencyArgs, RequirementArgs> private
- #stable_uses_from_macos ⇒ Array<UsesFromMacOSArgs> private
Constructor Details
#initialize(aliases: [], bottle: {}, bottle_checksums: [], bottle_rebuild: 0, caveats: nil, conflicts: [], deprecate_args: {}, desc:, disable_args: {}, head_url_args:, homepage:, keg_only_args: [], license:, link_overwrite_paths: [], no_autobump_args: {}, oldnames: [], post_install_defined: true, pour_bottle_args: {}, revision: 0, ruby_source_checksum:, ruby_source_path:, service_args: [], service_name_args: {}, service_run_args: [], service_run_kwargs: {}, stable_checksum: nil, stable_url_args:, stable_version:, tap_git_head:, version_scheme: 0, versioned_formulae: [], stable_dependency_hash: {}, head_dependency_hash: {}, requirements_array: []) ⇒ void
|
|
# File '' const :aliases, T::Array[String], default: [] const :bottle, T::Hash[String, T.anything], default: {} const :bottle_checksums, T::Array[T::Hash[String, T.anything]], default: [] const :bottle_rebuild, Integer, default: 0 const :caveats, T.nilable(String) const :conflicts, T::Array[[String, T::Hash[Symbol, String]]], default: [] const :deprecate_args, T::Hash[Symbol, T.nilable(T.any(String, Symbol))], default: {} const :desc, String const :disable_args, T::Hash[Symbol, T.nilable(T.any(String, Symbol))], default: {} const :head_url_args, [String, T::Hash[Symbol, T.anything]] const :homepage, String const :keg_only_args, T::Array[T.any(String, Symbol)], default: [] const :license, SPDX::LicenseExpression const :link_overwrite_paths, T::Array[String], default: [] const :no_autobump_args, T::Hash[Symbol, T.any(String, Symbol)], default: {} const :oldnames, T::Array[String], default: [] const :post_install_defined, T::Boolean, default: true const :pour_bottle_args, T::Hash[Symbol, Symbol], default: {} const :revision, Integer, default: 0 const :ruby_source_checksum, String const :ruby_source_path, String const :service_args, T::Array[[Symbol, BasicObject]], default: [] const :service_name_args, T::Hash[Symbol, String], default: {} const :service_run_args, T::Array[Homebrew::Service::RunParam], default: [] const :service_run_kwargs, T::Hash[Symbol, Homebrew::Service::RunParam], default: {} const :stable_checksum, T.nilable(String) const :stable_url_args, [String, T::Hash[Symbol, T.anything]] const :stable_version, String const :tap_git_head, String const :version_scheme, Integer, default: 0 const :versioned_formulae, T::Array[String], default: [] const :stable_dependency_hash, T::Hash[String, T::Array[String]], default: {} const :head_dependency_hash, T::Hash[String, T::Array[String]], default: {} const :requirements_array, T::Array[T::Hash[String, T.untyped]], default: [] |
Instance Attribute Details
#aliases ⇒ Array<String> (readonly)
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.
Changes to this struct must be mirrored in Homebrew::API::Formula.generate_formula_struct_hash
|
|
# File '' const :aliases, T::Array[String], default: [] |
#bottle ⇒ Hash{String => T.anything} (readonly)
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.
Returns the value of prop bottle.
|
|
# File '' const :bottle, T::Hash[String, T.anything], default: {} |
#bottle_checksums ⇒ Array<Hash{String => T.anything}> (readonly)
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.
Returns the value of prop bottle_checksums.
|
|
# File '' const :bottle_checksums, T::Array[T::Hash[String, T.anything]], default: [] |
#bottle_rebuild ⇒ Integer (readonly)
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.
Returns the value of prop bottle_rebuild.
|
|
# File '' const :bottle_rebuild, Integer, default: 0 |
#caveats ⇒ String? (readonly)
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.
Returns the value of prop caveats.
|
|
# File '' const :caveats, T.nilable(String) |
#conflicts ⇒ Array<Array<(String, Hash{Symbol => String})>> (readonly)
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.
Returns the value of prop conflicts.
|
|
# File '' const :conflicts, T::Array[[String, T::Hash[Symbol, String]]], default: [] |
#deprecate_args ⇒ Hash{Symbol => String, Symbol, nil} (readonly)
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.
Returns the value of prop deprecate_args.
|
|
# File '' const :deprecate_args, T::Hash[Symbol, T.nilable(T.any(String, Symbol))], default: {} |
#desc ⇒ String (readonly)
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.
Returns the value of prop desc.
|
|
# File '' const :desc, String |
#disable_args ⇒ Hash{Symbol => String, Symbol, nil} (readonly)
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.
Returns the value of prop disable_args.
|
|
# File '' const :disable_args, T::Hash[Symbol, T.nilable(T.any(String, Symbol))], default: {} |
#head_dependency_hash ⇒ Hash{String => Array<String>} (readonly)
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.
Returns the value of prop head_dependency_hash.
|
|
# File '' const :head_dependency_hash, T::Hash[String, T::Array[String]], default: {} |
#head_url_args ⇒ Array<(String, Hash{Symbol => T.anything})> (readonly)
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.
Returns the value of prop head_url_args.
|
|
# File '' const :head_url_args, [String, T::Hash[Symbol, T.anything]] |
#homepage ⇒ String (readonly)
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.
Returns the value of prop homepage.
|
|
# File '' const :homepage, String |
#keg_only_args ⇒ Array<String, Symbol> (readonly)
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.
Returns the value of prop keg_only_args.
|
|
# File '' const :keg_only_args, T::Array[T.any(String, Symbol)], default: [] |
#license ⇒ SPDX::LicenseExpression (readonly)
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.
Returns the value of prop license.
|
|
# File '' const :license, SPDX::LicenseExpression |
#link_overwrite_paths ⇒ Array<String> (readonly)
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.
Returns the value of prop link_overwrite_paths.
|
|
# File '' const :link_overwrite_paths, T::Array[String], default: [] |
#no_autobump_args ⇒ Hash{Symbol => String, Symbol} (readonly)
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.
Returns the value of prop no_autobump_args.
|
|
# File '' const :no_autobump_args, T::Hash[Symbol, T.any(String, Symbol)], default: {} |
#oldnames ⇒ Array<String> (readonly)
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.
Returns the value of prop oldnames.
|
|
# File '' const :oldnames, T::Array[String], default: [] |
#post_install_defined ⇒ Boolean (readonly)
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.
Returns the value of prop post_install_defined.
|
|
# File '' const :post_install_defined, T::Boolean, default: true |
#pour_bottle_args ⇒ Hash{Symbol => Symbol} (readonly)
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.
Returns the value of prop pour_bottle_args.
|
|
# File '' const :pour_bottle_args, T::Hash[Symbol, Symbol], default: {} |
#requirements_array ⇒ Array<Hash{String => T.untyped}> (readonly)
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.
Returns the value of prop requirements_array.
|
|
# File '' const :requirements_array, T::Array[T::Hash[String, T.untyped]], default: [] |
#revision ⇒ Integer (readonly)
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.
Returns the value of prop revision.
|
|
# File '' const :revision, Integer, default: 0 |
#ruby_source_checksum ⇒ String (readonly)
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.
Returns the value of prop ruby_source_checksum.
|
|
# File '' const :ruby_source_checksum, String |
#ruby_source_path ⇒ String (readonly)
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.
Returns the value of prop ruby_source_path.
|
|
# File '' const :ruby_source_path, String |
#service_args ⇒ Array<Array<(Symbol, BasicObject)>> (readonly)
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.
Returns the value of prop service_args.
|
|
# File '' const :service_args, T::Array[[Symbol, BasicObject]], default: [] |
#service_name_args ⇒ Hash{Symbol => String} (readonly)
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.
Returns the value of prop service_name_args.
|
|
# File '' const :service_name_args, T::Hash[Symbol, String], default: {} |
#service_run_args ⇒ Array<Homebrew::Service::RunParam> (readonly)
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.
Returns the value of prop service_run_args.
|
|
# File '' const :service_run_args, T::Array[Homebrew::Service::RunParam], default: [] |
#service_run_kwargs ⇒ Hash{Symbol => Homebrew::Service::RunParam} (readonly)
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.
Returns the value of prop service_run_kwargs.
|
|
# File '' const :service_run_kwargs, T::Hash[Symbol, Homebrew::Service::RunParam], default: {} |
#stable_checksum ⇒ String? (readonly)
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.
Returns the value of prop stable_checksum.
|
|
# File '' const :stable_checksum, T.nilable(String) |
#stable_dependency_hash ⇒ Hash{String => Array<String>} (readonly)
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.
Returns the value of prop stable_dependency_hash.
|
|
# File '' const :stable_dependency_hash, T::Hash[String, T::Array[String]], default: {} |
#stable_url_args ⇒ Array<(String, Hash{Symbol => T.anything})> (readonly)
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.
Returns the value of prop stable_url_args.
|
|
# File '' const :stable_url_args, [String, T::Hash[Symbol, T.anything]] |
#stable_version ⇒ String (readonly)
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.
Returns the value of prop stable_version.
|
|
# File '' const :stable_version, String |
#tap_git_head ⇒ String (readonly)
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.
Returns the value of prop tap_git_head.
|
|
# File '' const :tap_git_head, String |
#version_scheme ⇒ Integer (readonly)
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.
Returns the value of prop version_scheme.
|
|
# File '' const :version_scheme, Integer, default: 0 |
#versioned_formulae ⇒ Array<String> (readonly)
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.
Returns the value of prop versioned_formulae.
|
|
# File '' const :versioned_formulae, T::Array[String], default: [] |
Instance Method Details
#bottle? ⇒ Boolean
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.
10 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 10 def bottle?; end |
#deprecated? ⇒ Boolean
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.
13 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 13 def deprecated?; end |
#disabled? ⇒ Boolean
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.
16 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 16 def disabled?; end |
#head? ⇒ Boolean
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.
19 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 19 def head?; end |
#head_dependencies ⇒ Array<DependencyArgs, RequirementArgs>
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.
105 106 107 |
# File 'api/formula_struct.rb', line 105 def head_dependencies spec_dependencies(:head) + spec_requirements(:head) end |
#head_uses_from_macos ⇒ Array<UsesFromMacOSArgs>
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.
115 116 117 |
# File 'api/formula_struct.rb', line 115 def head_uses_from_macos spec_uses_from_macos(:head) end |
#keg_only? ⇒ Boolean
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.
22 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 22 def keg_only?; end |
#no_autobump_message? ⇒ Boolean
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.
25 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 25 def ; end |
#pour_bottle? ⇒ Boolean
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.
28 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 28 def pour_bottle?; end |
#service? ⇒ Boolean
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.
31 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 31 def service?; end |
#service_name? ⇒ Boolean
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.
34 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 34 def service_name?; end |
#service_run? ⇒ Boolean
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.
37 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 37 def service_run?; end |
#stable? ⇒ Boolean
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.
40 |
# File 'sorbet/rbi/dsl/homebrew/api/formula_struct.rbi', line 40 def stable?; end |
#stable_dependencies ⇒ Array<DependencyArgs, RequirementArgs>
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.
110 111 112 |
# File 'api/formula_struct.rb', line 110 def stable_dependencies spec_dependencies(:stable) + spec_requirements(:stable) end |
#stable_uses_from_macos ⇒ Array<UsesFromMacOSArgs>
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.
120 121 122 |
# File 'api/formula_struct.rb', line 120 def stable_uses_from_macos spec_uses_from_macos(:stable) end |