diff options
| author | Jack Nagel | 2012-07-05 20:27:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-05 20:32:49 -0500 |
| commit | 55bd6781dc872e75c3bc709668820f4cc630a899 (patch) | |
| tree | cb904b70f0c5af122e094f833213dff8bf7ed85f /Library/Homebrew/compat | |
| parent | 7f9c606504c577a55c84e2b599062c8bdcbaf3ad (diff) | |
| download | homebrew-55bd6781dc872e75c3bc709668820f4cc630a899.tar.bz2 | |
Remove compat's implicit dependency on formula
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/compat')
| -rw-r--r-- | Library/Homebrew/compat/compatibility.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb index 3f0f23766..879042fd4 100644 --- a/Library/Homebrew/compat/compatibility.rb +++ b/Library/Homebrew/compat/compatibility.rb @@ -93,7 +93,9 @@ class Formula end class << self - attr_rw :bottle_sha1 + def bottle_sha1 val=nil + val.nil? ? @bottle_sha1 : @bottle_sha1 = val + end end end |
