Shouldn't override def patch

This commit is contained in:
Adam Vandenberg 2013-02-22 09:33:46 -08:00
parent 4749339e5b
commit 72afade1ee

View File

@ -657,6 +657,8 @@ private
case method
when :brew
raise "You cannot override Formula#brew"
when :patch
raise "You probably meant `def patches`."
when :test
@test_defined = true
end