Ask the view for its method container
Rather than doing is_a? checks, ask the view object for its compiled method container. This gives us the power to replace the method container depending on the instance of the view.
Showing
想要评论请 注册 或 登录