Skip to content
Snippets Groups Projects
Commit 80aef5fd authored by Jack Nagel's avatar Jack Nagel
Browse files

Fix method redefinition warning

test_defined? gets defined in the method_added hook.
parent dd900302
No related branches found
No related tags found
No related merge requests found
......@@ -898,7 +898,6 @@ class Formula
end
def test &block
define_method(:test_defined?) { true }
define_method(:test, &block)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment