From b92f3a2e937aad2a6195508e423116baecf814ae Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 24 Aug 2020 23:51:48 +0200 Subject: [PATCH] Document `URL`. --- Library/Homebrew/cask/url.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/cask/url.rb b/Library/Homebrew/cask/url.rb index ad7c3506e7..2e59372f9d 100644 --- a/Library/Homebrew/cask/url.rb +++ b/Library/Homebrew/cask/url.rb @@ -1,5 +1,8 @@ # frozen_string_literal: true +# Class corresponding to the `url` stanza. +# +# @api private class URL ATTRIBUTES = [ :using, @@ -7,6 +10,7 @@ class URL :trust_cert, :cookies, :referer, :user_agent, :data ].freeze + private_constant :ATTRIBUTES attr_reader :uri, :specs, *ATTRIBUTES