Remove unneeded method.
This commit is contained in:
parent
a114575663
commit
786f5d359f
@ -6,11 +6,6 @@ require "downloadable"
|
||||
module Homebrew
|
||||
module API
|
||||
class DownloadStrategy < CurlDownloadStrategy
|
||||
sig { returns(String) }
|
||||
def name # rubocop:disable Lint/UselessMethodDefinition
|
||||
super
|
||||
end
|
||||
|
||||
sig { override.returns(Pathname) }
|
||||
def symlink_location
|
||||
cache/name
|
||||
@ -43,12 +38,12 @@ module Homebrew
|
||||
|
||||
sig { override.returns(String) }
|
||||
def name
|
||||
downloader.name
|
||||
download_name
|
||||
end
|
||||
|
||||
sig { override.returns(String) }
|
||||
def download_type
|
||||
"API"
|
||||
"API source"
|
||||
end
|
||||
|
||||
sig { override.returns(Pathname) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user