I was playing with various modules and found something I can’t
explain. It seems like module inclusion’s order matters ? Here is a
simple test case :
module B; end
module C; include B; end
module A; def somemethod; end; end
module B; include A; end
p B.instance_methods #=> [“somemethod”]
p C.instance_methods #=>  ???
I don’t understand why C doesn’t inherit A’s instance_methods. Does
somebody know something about that ?