Use Module#prepend instead of alias_method_chain
Thanks @fbernier for suggestion! <3 At this moment we can use Module#prepend in all all cases except of Range because of the bug [1] in MRI 2.2 [1] https://bugs.ruby-lang.org/issues/10847
Showing
想要评论请 注册 或 登录