Class: Resource::Download

Inherits:
Object
  • Object
show all
Defined in:
Library/Homebrew/resource.rb

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ Download

Returns a new instance of Download



20
21
22
# File 'Library/Homebrew/resource.rb', line 20

def initialize(resource)
  @resource = resource
end

Instance Method Details

#mirrorsObject



36
37
38
# File 'Library/Homebrew/resource.rb', line 36

def mirrors
  @resource.mirrors
end

#specsObject



28
29
30
# File 'Library/Homebrew/resource.rb', line 28

def specs
  @resource.specs
end

#urlObject



24
25
26
# File 'Library/Homebrew/resource.rb', line 24

def url
  @resource.url
end

#versionObject



32
33
34
# File 'Library/Homebrew/resource.rb', line 32

def version
  @resource.version
end