diff options
| author | Jack Nagel | 2015-01-04 14:25:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-04 14:25:59 -0500 |
| commit | 6eb0b3505bda1f31f31a364296d451e485d98fc7 (patch) | |
| tree | 8535e9bda2847796bd0077704c6bcf4de7aab119 /Library | |
| parent | 4398660cdd4b8714351fd4a9063b82fdf25bea2f (diff) | |
| download | brew-6eb0b3505bda1f31f31a364296d451e485d98fc7.tar.bz2 | |
Top-level DSL methods only manipulate the stable spec
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 08ed4ddd1..f5439ec1f 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -807,14 +807,14 @@ class Formula end # @!attribute [rw] url - # The URL used to download the source for the currently active {SoftwareSpec}. + # The URL used to download the source for the {#stable} version of the formula. # We prefer `https` for security and proxy reasons. def url val, specs={} stable.url(val, specs) end # @!attribute [w] version - # The version for the currently active {SoftwareSpec}. + # The version string for the {#stable} version of the formula. # The version is autodetected from the URL and/or tag so only needs to be # declared if it cannot be autodetected correctly. def version val=nil @@ -822,7 +822,7 @@ class Formula end # @!attribute [rw] mirror - # Additional {.url}s for the currently active {SoftwareSpec}. + # Additional URLs for the {#stable} version of the formula. # These are only used if the {.url} fails to download. It's optional and # there can be more than one. Generally we add them when the main {.url} # is unreliable. If {.url} is really unreliable then we may swap the |
