aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-06 16:36:12 -0700
committerAdam Vandenberg2013-06-06 16:41:26 -0700
commit76b89b6a82977488efc66a60ce2005471e166dfd (patch)
tree0551452cc7685fb3f4fc4d7213e8625fde28e75d
parent7e44ebd57501ff9e3bab03c2f78cc958aba391e5 (diff)
downloadhomebrew-76b89b6a82977488efc66a60ce2005471e166dfd.tar.bz2
Add class name to method_added error
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 7ad2fb635..06dfafa45 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -677,7 +677,7 @@ class Formula
def self.method_added method
case method
when :brew
- raise "You cannot override Formula#brew"
+ raise "You cannot override Formula#brew in class #{name}"
when :test
@test_defined = true
end