Hi,
In message "[ruby-talk:16988] using alias_method"
on 01/06/28, laotse / lumberjack.snurgle.org <laotse / lumberjack.snurgle.org> writes:
|At first I thought alias_method looked promising. Unfortunately, its a
|private instance method of module Module and I can't figure out any way to
|use it within a class.
unless defined? self.hello_orig
self.type.class_eval{alias_method :hello_orig, :hello}
end
--
matz.