brew/Library/Homebrew/download_strategy.rbi

19 lines
502 B
Plaintext
Raw Normal View History

2023-03-15 14:29:15 -07:00
# typed: strict
module AbstractDownloadStrategy::Pourable
requires_ancestor { AbstractDownloadStrategy }
end
2024-01-31 09:33:30 -08:00
class Mechanize::HTTP
ContentDisposition = Struct.new :type, :filename, :creation_date,
:modification_date, :read_date, :size, :parameters
end
class Mechanize::HTTP::ContentDispositionParser
sig {
params(content_disposition: String, header: T::Boolean)
.returns(T.nilable(Mechanize::HTTP::ContentDisposition))
}
def parse(content_disposition, header = false); end
end