From e2bc3c510e1f8d05277e8b2836d8a0196c0212a3 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 1 Aug 2009 17:54:18 +0100 Subject: [PATCH] FIX allow @version to be set in derived Formula --- Library/Homebrew/formula.rb | 60 +++++++++++-------------------------- 1 file changed, 17 insertions(+), 43 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 49096c1a3f..07692ff894 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -29,29 +29,13 @@ class AbstractFormula require 'find' require 'fileutils' - # fuck knows, ruby is weird - # TODO please fix! - def self.url - @url +private + class <