From: Mike Wyer Date: 2002-03-19T01:44:33+09:00 Subject: Re: language addition: automatic 'new' Vardhan Varma writes: > But i thought method _have_ to start with [a-z] and not [A-Z] > Integer() etc. must be doing some trick ( like calling an Nasty hack: def foobar(arg) FooBar.new(arg) end alias FooBar foobar FooBar(20) # calls FooBar.new(20) ie you can alias an upper case identifier to a lowercase method. Cheers, Mike -- Mike Wyer http://www.doc.ic.ac.uk/~mw Computing Support Group, Imperial College Computing Department "What's your username?" *clickety* *click*