Class: Utils::Bottles::TagSpecification Private
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:) ⇒ TagSpecification
constructor
private
A new instance of TagSpecification.
Constructor Details
#initialize(tag:, checksum:, cellar:) ⇒ TagSpecification
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 a new instance of TagSpecification.
283 284 285 286 287 |
# File 'utils/bottles.rb', line 283 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.
281 282 283 |
# File 'utils/bottles.rb', line 281 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.
278 279 280 |
# File 'utils/bottles.rb', line 278 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.
275 276 277 |
# File 'utils/bottles.rb', line 275 def tag @tag end |