f348f74157
This commit amends the `url` stanza to accept an optional block The block is only evaluated when needed, for example on download time or when auditing a Cask. It is never evaluated when loading a Cask. The return value of the block is either a `String`, or a `String, Hash` tuple; the latter case is for additional options such as `referer`. Implementation note: Rolled my own delegate logic because `SimpleDelegator` turns out to take too much of a performance hit. |
||
---|---|---|
.. | ||
hbc | ||
vendor | ||
hbc.rb |