mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
Add class name to method_added error
This commit is contained in:
1 parent
7e44ebd575
commit
76b89b6a82
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user