Use redefine_method since baz is already defined.
This commit is contained in:
parent
0c08d8bd75
commit
3e336f9ab7
@ -1,3 +1,3 @@
|
||||
module FooHelper
|
||||
def baz() end
|
||||
redefine_method(:baz) {}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user