From: Day Date: 2008-02-09T07:20:45+09:00 Subject: Re: alias_method and initialize On Feb 8, 2008 4:01 PM, Leon Bogaert wrote: > Why isn't tests[1] filled? I tried instance_eval and stuff but I don't > exactly understand what I'm supposed to do... I could be wrong (of course!), but it looks to me like the aliasing isn't working the way you think it should. Rather than initialize_with_extras being triggered and then triggering Test's initialize, only Test's initialize is being hit. Hrm. What happens if you call initialize_with_extras just initialize and create a conflict? Or maybe something like this? module Extras alias_method :initialize, :initialize_without_extras def initialize initialize_without_extras #Do it! @tests[2] = 'ok too!' end end I'm sort of just guessing. Ben