@H_403_1@
module Imodule ??? end class Some include Imodule def self.imethod puts "original" end end Some.imethod # => "overrided"
如何创建一个会覆盖静态方法的模块?
解决方法
好的,这是一个工作代码.请注意,您甚至不必触摸目标课程!