Class: Resource::Go Private

Inherits:
Resource show all
Defined in:
Library/Homebrew/resource.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.

A resource containing a Go package.

Instance Attribute Summary

Attributes inherited from Resource

#checksum, #download_strategy, #mirrors, #name, #owner, #patches, #source_modified_time, #specs, #using, #version

Instance Method Summary collapse

Methods inherited from Resource

#apply_patches, #cached_download, #clear_cache, #download_name, #downloaded?, #downloader, #escaped_name, #fetch, #fetch_patches, #files, #initialize, #mirror, #on_linux, #on_macos, #patch, #prepare_patches, #unpack, #url, #verify_download_integrity

Methods included from Context

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

Constructor Details

This class inherits a constructor from Resource

Instance Method Details

#stage(target) ⇒ Object

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.


220
221
222
# File 'Library/Homebrew/resource.rb', line 220

def stage(target)
  super(target/name)
end