From bb78df7356533502597a7bbacb529a3d7de71e7a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 5 Jul 2012 20:27:38 -0500 Subject: Remove compat's implicit dependency on formula Signed-off-by: Jack Nagel --- Library/Homebrew/compat/compatibility.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew') 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 -- cgit v1.2.3