Class: Resource::Go Private

Inherits:
Resource show all
Defined in:
resource.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

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, #patch, #prepare_patches, #sha256, #unpack, #url, #verify_download_integrity

Methods included from OnOS

#on_linux, #on_macos

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, &block) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



218
219
220
# File 'resource.rb', line 218

def stage(target, &block)
  super(target/name, &block)
end