提交 25b10f4c 编写于 作者: A Aaron Patterson

modules don't have any instance methods

上级 c99d507f
......@@ -94,9 +94,7 @@ def clear!
@routes = {}
@helpers = []
@module ||= Module.new do
instance_methods.each { |selector| remove_method(selector) }
end
@module ||= Module.new
end
def add(name, route)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册