Class: LocalBottleDownloadStrategy Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Strategy for extracting 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, #shutup!, #stage

Methods included from Context

current, current=, #debug?, #quiet?, #verbose?, #with_context

Constructor Details

#initialize(path) ⇒ LocalBottleDownloadStrategy

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

rubocop:disable Lint/MissingSuper


560
561
562
# File 'Library/Homebrew/download_strategy.rb', line 560

def initialize(path) # rubocop:disable Lint/MissingSuper
  @cached_location = path
end