aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-26 12:05:37 -0500
committerJack Nagel2014-12-26 12:05:59 -0500
commitf78e1509291c985eac2a449f629152c8c25c5e83 (patch)
tree0c0d6699c21ce35b4d71fd43521108614080afed /Library
parent370bcb0e05c0cf1fb86f19cd09bd420591e88183 (diff)
downloadhomebrew-f78e1509291c985eac2a449f629152c8c25c5e83.tar.bz2
Fix method redefinition warning
test_defined? gets defined in the method_added hook.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 14ab534ae..6790c1640 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -898,7 +898,6 @@ class Formula
end
def test &block
- define_method(:test_defined?) { true }
define_method(:test, &block)
end
end