Re: rb_scan_args question

  • Follow


> -----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 <djberge@qwest.com> 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

0
Reply djberge (129) 10/8/2003 2:03:29 PM


0 Replies
32 Views

(page loaded in 0.013 seconds)


Reply: