Spec-Zone.ru › Homebrew

Class: Utils::Bottles::TagSpecification Private

Inherits:
Object
  • Object
  • Utils::Bottles::TagSpecification
show all
Defined in:
utils/bottles.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.

The specification for a specific tag

Instance Attribute Summary collapse

  • #cellar ⇒ Symbol, String readonly private
  • #checksum ⇒ Checksum readonly private
  • #tag ⇒ Utils::Bottles::Tag readonly private

Instance Method Summary collapse

  • #initialize(tag:, checksum:, cellar:) ⇒ void constructor private

Constructor Details

#initialize(tag:, checksum:, cellar:) ⇒ void

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:

  • tag (Utils::Bottles::Tag)
  • checksum (Checksum)
  • cellar (Symbol, String)


319
320
321
322
323
# File 'utils/bottles.rb', line 319

def initialize(tag:, checksum:, cellar:)
  @tag = tag
  @checksum = checksum
  @cellar = cellar
end

Instance Attribute Details

#cellar ⇒ 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:

  • (Symbol, String)


316
317
318
# File 'utils/bottles.rb', line 316

def cellar
  @cellar
end

#checksum ⇒ Checksum (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:

  • (Checksum)


313
314
315
# File 'utils/bottles.rb', line 313

def checksum
  @checksum
end

#tag ⇒ Utils::Bottles::Tag (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:

  • (Utils::Bottles::Tag)


310
311
312
# File 'utils/bottles.rb', line 310

def tag
  @tag
end

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

Spec-Zone.ru

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