From: Eric Hodel Date: 2009-11-24T08:26:46+09:00 Subject: Re: How to alias_method_chain initialize from a mixin. On Nov 21, 2009, at 23:09, Evan Senter wrote: > Hi, > > I've been having a little trouble the past couple days getting an > alias_method_chain working on the initialize method via a module > getting > mixed into a class. For example: Don't use alias_method_chain. Ever. You already have inheritance. It works far better. Use super: module DSL def initialize puts "dsl initialize" end end class Something include DSL def initialize super puts "something initialize" end end Oh, inheritance also works when you don't bother to define initialize in Something.