aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-12 17:48:48 -0800
committerAdam Vandenberg2011-03-12 17:48:48 -0800
commit498ef3372c2ca43d359071701cff810f9d7139bc (patch)
tree3c42fb45b9feb0e3a064e894917316bfc93b5609
parent749b91c6baf004adbbdc32c3a10e9b0d209c13b3 (diff)
downloadbrew-498ef3372c2ca43d359071701cff810f9d7139bc.tar.bz2
Fix inheritance in formula.rb
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index a7cea5cf8..3de1935d8 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -655,14 +655,14 @@ EOF
end
# see ack.rb for an example usage
-class ScriptFileFormula <Formula
+class ScriptFileFormula < Formula
def install
bin.install Dir['*']
end
end
# see flac.rb for example usage
-class GithubGistFormula <ScriptFileFormula
+class GithubGistFormula < ScriptFileFormula
def initialize name='__UNKNOWN__', path=nil
super name
@version=File.basename(File.dirname(url))[0,6]