From: Daniel Schierbeck Date: 2005-12-02T15:52:32+09:00 Subject: Re: Aliasing to an inherited method Trans wrote: > #new is a class method so you got to get up in that class level. > > class Class > class << self > alias_method :__new__, :new > end > end > Actually, the instance methods defined in Class become class methods in every instance of it (classes) class Class def foo; "bar; end end Integer.foo => "bar" It's a bit confusing, but just think of every class in Ruby as an instance of Class. Cheers, Daniel