ScriptFileFormula: remove override warning

Closes Homebrew/homebrew#20445.
This commit is contained in:
Adam Vandenberg 2013-06-13 09:34:27 -07:00
parent fc649af17a
commit 313134fbe3

View File

@ -5,14 +5,6 @@ class ScriptFileFormula < Formula
def install
bin.install Dir['*']
end
def self.method_added method
super method
case method
when :install
opoo "#{name}: if you are overriding ScriptFileFormula#install, use a Formula instead"
end
end
end
# See browser for an example