Class: Homebrew::BottleInfo

Inherits:
Object
  • Object
show all
Defined in:
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



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

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

Instance Attribute Details

#sha256Object

Expected SHA256 as string



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

def sha256
  @sha256
end

#urlObject

URL of bottle as string



532
533
534
# File 'Library/Homebrew/dev-cmd/pull.rb', line 532

def url
  @url
end