From: Michael Brailsford Date: 2002-04-21T06:27:04+09:00 Subject: A few ideas/suggestions I have had a few ideas about some new features. Before I submit an RCR or two, though I'd like to sound off here. I'd like some feedback to see if my ideas are crap, or good ideas. Well, first I think that it makes a lot of sense if Dir#[] accepted a Regexp as well a String like it currently does. String#[] already implements something similar. I think that Dir[/.*\.rb/] makes a lot of sense. The other idea is to provide a predefined entry point for classes. Something akin to C++ "int main()" or Java's "public static void main(String[] args)". If this predefined entry point existed in a class in the script then after the file has been read the interpreter would run the class using that predefined method. If it didn't exist then behavior would be what it is now. Any way what does everyone else think? -Michael -- At some point in the project somebody will start whining about the need to determine the project "requirements". This involves interviewing people who don't know what they want but, curiously, know exactly when they need it. (Scott Adams - The Dilbert principle)