Class: LocalBottleDownloadStrategy

Inherits:
AbstractFileDownloadStrategy show all
Defined in:
brew/Library/Homebrew/download_strategy.rb

Overview

This strategy extracts local binary packages.

Instance Attribute Summary

Attributes inherited from AbstractDownloadStrategy

#cache, #cached_location, #source_modified_time, #url

Instance Method Summary collapse

Methods inherited from AbstractFileDownloadStrategy

#basename, #cached_location, #symlink_location, #temporary_path

Methods inherited from AbstractDownloadStrategy

#basename, #clear_cache, #fetch, #ohai, #puts, #shutup!, #stage

Constructor Details

#initialize(path) ⇒ LocalBottleDownloadStrategy

Returns a new instance of LocalBottleDownloadStrategy



505
506
507
# File 'brew/Library/Homebrew/download_strategy.rb', line 505

def initialize(path)
  @cached_location = path
end