diff options
| author | Adam Vandenberg | 2013-06-06 16:36:12 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-06 16:41:26 -0700 |
| commit | 76b89b6a82977488efc66a60ce2005471e166dfd (patch) | |
| tree | 0551452cc7685fb3f4fc4d7213e8625fde28e75d /Library | |
| parent | 7e44ebd57501ff9e3bab03c2f78cc958aba391e5 (diff) | |
| download | homebrew-76b89b6a82977488efc66a60ce2005471e166dfd.tar.bz2 | |
Add class name to method_added error
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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 |
