Class: Utils::Bottles::Collector

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

Instance Method Summary collapse

Constructor Details

#initializeCollector

Returns a new instance of Collector.


94
95
96
# File 'Library/Homebrew/utils/bottles.rb', line 94

def initialize
  @checksums = {}
end

Instance Method Details

#fetch_checksum_for(tag) ⇒ Object


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

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