diff options
| author | Jack Nagel | 2013-02-21 22:17:12 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-21 22:19:11 -0600 |
| commit | 117977ca3258d0f94d730ea1a0426c045a39f79c (patch) | |
| tree | fd246c2689c55cf0c72c19a6e4f7bdf7556daa2a /Library | |
| parent | f6d0880f7c7fcf8ad0046c978a8a0bcab4d8d98a (diff) | |
| download | homebrew-117977ca3258d0f94d730ea1a0426c045a39f79c.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 |
