Class: LegacyPatch Private

Inherits:
ExternalPatch show all
Defined in:
Library/Homebrew/patch.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 legacy patch.

Legacy patches have no checksum and are not cached.

Instance Attribute Summary

Attributes inherited from ExternalPatch

#resource, #strip

Instance Method Summary collapse

Methods inherited from ExternalPatch

#apply, #external?, #inspect, #owner=

Constructor Details

#initialize(strip, _url) ⇒ LegacyPatch

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.

Returns a new instance of LegacyPatch.


195
196
197
198
# File 'Library/Homebrew/patch.rb', line 195

def initialize(strip, _url)
  odisabled "legacy patches", "'patch do' blocks"
  super(strip)
end