Florian Frank
5/22/2007 7:34:00 PM
mike.cahill@comcast.net wrote:
> alias_method only takes symbol names
That isn't true. alias_method takes strings just fine:
>> class A; alias_method 'foo', 'to_s';end; A.new.foo
# => "#<A:0xb7cfcf08>"
--
Florian Frank