module是可以定义private方法的
module MTest def aaa puts "aaa" private_method end private def private_method puts "this is private_method" end end class CC include MTest end c = CC.new c.aaa
?原因我估计是Kernel中定义了private的方法。
原文:http://wudixiaotie.iteye.com/blog/2149059