Class: Utils::Bottles::Collector Private

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
Library/Homebrew/utils/bottles.rb,
Library/Homebrew/extend/os/mac/utils/bottles.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Collector for bottle specifications.

Instance Method Summary collapse

Constructor Details

#initializeCollector

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Collector.


100
101
102
# File 'Library/Homebrew/utils/bottles.rb', line 100

def initialize
  @checksums = {}
end

Instance Method Details

#fetch_checksum_for(tag) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


104
105
106
107
# File 'Library/Homebrew/utils/bottles.rb', line 104

def fetch_checksum_for(tag)
  tag = find_matching_tag(tag)
  return self[tag], tag if tag
end