David Douthitt wrote: > opts = GetoptLong.new( > [ "--verbose", "-v", GetoptLong::NO_ARGUMENT ], > [ "--yesterday", "-y", GetoptLong::NO_ARGUMENT ], > ) > > Now that fails.... Ugly workaround using array expansion: opts = GetoptLong.new(*[ [ "--verbose", "-v", GetoptLong::NO_ARGUMENT ], [ "--yesterday", "-y", GetoptLong::NO_ARGUMENT ], ]) But I'd have to argue against allowing trailing commas in method calls (and definitions), on the basis that it could make it easier to write methods that take a lot of parameters. IIRC, a large number of parameters to a method is a "code smell", and allowing the trailing comma would be like spraying some fresh pine scent on it to cover it... IMHO. -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 4. year ) ( \__\_õüõß/__/ ) _)Industrial economics and technological management( \____/_öß\____/ (____engineering.discipline_=_Computer::Technology___)