From: Guido Poschta Date: 2002-07-17T07:46:55+09:00 Subject: aClass.new([args]) -> class / object ????? Hi! We've currently got a problem with this code snippet: classes = [Decimal.class, Whitespace.class, NonWhitespace.class] cl = classes[2] return cl.new([]) In our opinion, it should return an instance of class "NonWhitespace", but instead, the compiler says the signature of new is wrong: re_game_1.rb:28:in `new': wrong argument type Array (expected Class) (TypeError) The signature the compiler asks for seems to be that of the static method Class.new - which we didn't use, or did we? Thankful for any comments, Guido