From: Love U Ruby Date: 2013-05-01T01:55:11+09:00 Subject: Re: How does Module#include differ from #prepend? module Foobar def self.prepend_features(mod) puts "pre-prepending #{self} to #{mod}" super end def self.prepended(mod) puts "prepending #{self} to #{mod}" end end class Foo end class Bar < Foo prepend Foobar end output: pre-prepending Foobar to Bar prepending Foobar to Bar Now my question is - Is there any difference between module#prepend and module#prepend_features? Looking at the output,it seems module#prepend is set as lower priority call - why so? -- Posted via http://www.ruby-forum.com/.