From: "Berger, Daniel" Date: 2003-10-08T23:03:29+09:00 Subject: Re: rb_scan_args question > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Wednesday, October 08, 2003 7:42 AM > To: ruby-talk@ruby-lang.org > Cc: ruby-talk@ruby-lang.org > Subject: Re: rb_scan_args question > > > >>>>> "B" == Berger, Daniel writes: > > B> rb_scan_args(argc,argv,"12",&arg1,&arg2); > > one mandatory, 2 optionals i.e. > > def tt(a, b = nil, c = nil) > end > > > Guy Decoux I swear, I can read the API documentation! No, really! :-P I've been doing that wrong for about a year now. :( Thanks Guy. Dan