From: William Djaja Tjokroaminata Date: 2002-11-26T23:46:37+09:00 Subject: Re: RCR: Stack, Queue alias methods in Array Martin DeMello wrote: > They're not really new functionality, though, just aliases for existing > methods. And 'push' and 'pop' are already part of Array - it seems a bit > heavy conceptually to include a module just to 'alias top last' Well, I guess then you can simply use Ruby's built-in 'alias'. :) If you want something more efficient than this, then you need to modify the Ruby C source code. (It is not that hard, just add the method name and the same function pointer.) Regards, Bill