From: David Chelimsky Date: 2006-07-12T13:07:24+09:00 Subject: alias new??? --Apple-Mail-1-423861236 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I've seen this work before: module MagicWithMethodMissing alias_method :__orig_method_missing, :method_missing def method_missing(sym, *args, &block) if some_condition #do special stuff else __orig_method_missing(sym, *args, &block) end end end class MyClass include MagicWithMethodMissing end I want to do the same thing w/ :new on the class module MagicWithNew alias_method :__orig_new, :new def new(*args, &block) if some_condition #do special stuff else __orig_new(*args, &block) end end end The question I have is how do I get this included in the meta class of MyClass? Thanks, David --Apple-Mail-1-423861236--