Spec-Zone.ru › Homebrew

Class: Resource::Formula Private

Inherits:
Resource
  • Object
  • Resource
  • Resource::Formula
show all
Defined in:
resource.rb

Overview

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.

A resource for a formula.

Instance Method Summary collapse

  • #download_queue_name ⇒ String private
  • #download_queue_type ⇒ String private

Instance Method Details

#download_queue_name ⇒ 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.

Returns:

  • (String)


350
# File 'resource.rb', line 350

def download_queue_name = "#{T.must(owner).name} (#{version})"

#download_queue_type ⇒ 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.

Returns:

  • (String)


347
# File 'resource.rb', line 347

def download_queue_type = "Formula"

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Resource/Formula.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API