diff options
| author | Jack Nagel | 2013-02-21 22:17:12 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-21 22:19:11 -0600 |
| commit | 4749339e5b7ed615eea9208f74e650f102e6cdb7 (patch) | |
| tree | 3be94e9bc4f81d2c68fce1b73503d10c4278ced5 /Library | |
| parent | 20328d763e47448b44c06cc7e2841a8f481bee3a (diff) | |
| download | brew-4749339e5b7ed615eea9208f74e650f102e6cdb7.tar.bz2 | |
Formula: fix class-level version accessor
When given no arguments, this should return the stable version, but it
hasn't since we stopped setting this direction in the class's @version
variable.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 6f8fc91db..eff006cdc 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -723,7 +723,6 @@ private end def version val=nil - return @version if val.nil? @stable ||= SoftwareSpec.new @stable.version(val) end |
