From ea1cc3fc9b44df78a5400a0e8b6fe65f7fcb8181 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 <