Class: Homebrew::BottleInfo

Inherits:
Object
  • Object
show all
Defined in:
brew/Library/Homebrew/dev-cmd/pull.rb

Overview

Bottle info as used internally by pull, with alternate platform support.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, sha256) ⇒ BottleInfo

Returns a new instance of BottleInfo



539
540
541
542
# File 'brew/Library/Homebrew/dev-cmd/pull.rb', line 539

def initialize(url, sha256)
  @url = url
  @sha256 = sha256
end

Instance Attribute Details

#sha256Object

Expected SHA-256 as string



537
538
539
# File 'brew/Library/Homebrew/dev-cmd/pull.rb', line 537

def sha256
  @sha256
end

#urlObject

URL of bottle as string



535
536
537
# File 'brew/Library/Homebrew/dev-cmd/pull.rb', line 535

def url
  @url
end