diff options
| author | Jack Nagel | 2015-01-04 14:25:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-04 14:25:59 -0500 |
| commit | 3389c1e16ca662ef26cebffb44cb88e44669e9ad (patch) | |
| tree | af88b4df92f27899de6f458d7c09da196e0e2d82 /Library | |
| parent | cdea65e02567f05448cc1db62505810fc581887c (diff) | |
| download | homebrew-3389c1e16ca662ef26cebffb44cb88e44669e9ad.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 |
