On Mar 15, 2007, at 16:15 UTC, Charles Yeomans wrote: > I don't. I've been bitten more than once by automatic conversion of > numeric types in Rb, and I wish there were less of it.
I agree wholeheartedly with Charles on this one. An enum is not an integer, and should generally not be used as one; if you must do so, you should make it explicit via the typecast. Maybe instead of an enum, you want a set of numeric constants. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
